Struct iri_string::types::RiReferenceStr
source · [−]#[repr(transparent)]pub struct RiReferenceStr<S> { /* private fields */ }
Expand description
A borrowed string of an absolute IRI possibly with fragment part.
This corresponds to IRI-reference
rule in RFC 3987
(and URI-reference
rule in RFC 3986).
The rule for IRI-reference
is IRI / irelative-ref
.
In other words, this is union of RiStr
and RiRelativeStr
.
Valid values
This type can have an IRI reference (which can be absolute or relative).
assert!(IriReferenceStr::new("https://user:pass@example.com:8080").is_ok());
assert!(IriReferenceStr::new("https://example.com/").is_ok());
assert!(IriReferenceStr::new("https://example.com/foo?bar=baz").is_ok());
assert!(IriReferenceStr::new("https://example.com/foo?bar=baz#qux").is_ok());
assert!(IriReferenceStr::new("foo:bar").is_ok());
assert!(IriReferenceStr::new("foo:").is_ok());
// `foo://.../` below are all allowed. See the crate documentation for detail.
assert!(IriReferenceStr::new("foo:/").is_ok());
assert!(IriReferenceStr::new("foo://").is_ok());
assert!(IriReferenceStr::new("foo:///").is_ok());
assert!(IriReferenceStr::new("foo:////").is_ok());
assert!(IriReferenceStr::new("foo://///").is_ok());
assert!(IriReferenceStr::new("foo/bar").is_ok());
assert!(IriReferenceStr::new("/foo/bar").is_ok());
assert!(IriReferenceStr::new("//foo/bar").is_ok());
assert!(IriReferenceStr::new("#foo").is_ok());
Some characters and sequences cannot used in an IRI reference.
// `<` and `>` cannot directly appear in an IRI reference.
assert!(IriReferenceStr::new("<not allowed>").is_err());
// Broken percent encoding cannot appear in an IRI reference.
assert!(IriReferenceStr::new("%").is_err());
assert!(IriReferenceStr::new("%GG").is_err());
Implementations
sourceimpl<S: Spec> RiReferenceStr<S>
impl<S: Spec> RiReferenceStr<S>
sourceimpl<S: Spec> RiReferenceStr<S>
impl<S: Spec> RiReferenceStr<S>
sourcepub fn to_iri(&self) -> Result<&RiStr<S>, &RiRelativeStr<S>>
pub fn to_iri(&self) -> Result<&RiStr<S>, &RiRelativeStr<S>>
Returns the string as &RiStr
, if it is valid as an IRI.
If it is not an IRI, then &RiRelativeStr
is returned as Err(_)
.
sourcepub fn to_relative_iri(&self) -> Result<&RiRelativeStr<S>, &RiStr<S>>
pub fn to_relative_iri(&self) -> Result<&RiRelativeStr<S>, &RiStr<S>>
Returns the string as &RiRelativeStr
, if it is valid as an IRI.
If it is not an IRI, then &RiStr
is returned as Err(_)
.
sourcepub fn resolve_against<'a>(
&'a self,
base: &RiAbsoluteStr<S>
) -> Result<Cow<'a, RiStr<S>>, TaskError<Error>>
pub fn resolve_against<'a>(
&'a self,
base: &RiAbsoluteStr<S>
) -> Result<Cow<'a, RiStr<S>>, TaskError<Error>>
Returns resolved IRI against the given base IRI.
For reference resolution output examples, see RFC 3986 section 5.4.
Enabled by alloc
or std
feature.
Strictness
The IRI parsers provided by this crate is strict (e.g. http:g
is
always interpreted as a composition of the scheme http
and the path
g
), so backward compatible parsing and resolution are not provided.
About parser and resolver strictness, see RFC 3986 section 5.4.2:
Some parsers allow the scheme name to be present in a relative reference if it is the same as the base URI scheme. This is considered to be a loophole in prior specifications of partial URI RFC1630. Its use should be avoided but is allowed for backward compatibility.
Failures
This fails if
- memory allocation failed, or
- the IRI referernce is unresolvable against the base.
To see examples of unresolvable IRIs, visit the documentation
for normalize
module.
sourcepub fn resolve_normalize_against(
&self,
base: &RiAbsoluteStr<S>
) -> Result<RiString<S>, TaskError<Error>>
pub fn resolve_normalize_against(
&self,
base: &RiAbsoluteStr<S>
) -> Result<RiString<S>, TaskError<Error>>
Returns normalized and resolved IRI against the given base IRI.
This returns the normalized result of
resolve_against
method.
Enabled by alloc
or std
feature.
Failures
This fails if
- memory allocation failed, or
- the IRI referernce is unresolvable against the base.
To see examples of unresolvable IRIs, visit the documentation
for normalize
module.
sourceimpl<S: Spec> RiReferenceStr<S>
impl<S: Spec> RiReferenceStr<S>
Components getters.
sourcepub fn scheme_str(&self) -> Option<&str>
pub fn scheme_str(&self) -> Option<&str>
Returns the scheme.
The following colon is truncated.
Examples
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("http://example.com/pathpath?queryquery#fragfrag")?;
assert_eq!(iri.scheme_str(), Some("http"));
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("foo/bar:baz")?;
assert_eq!(iri.scheme_str(), None);
Returns the authority.
The leading //
is truncated.
Examples
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("http://example.com/pathpath?queryquery#fragfrag")?;
assert_eq!(iri.authority_str(), Some("example.com"));
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("urn:uuid:10db315b-fcd1-4428-aca8-15babc9a2da2")?;
assert_eq!(iri.authority_str(), None);
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("foo/bar:baz")?;
assert_eq!(iri.authority_str(), None);
sourcepub fn path_str(&self) -> &str
pub fn path_str(&self) -> &str
Returns the path.
Examples
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("http://example.com/pathpath?queryquery#fragfrag")?;
assert_eq!(iri.path_str(), "/pathpath");
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("urn:uuid:10db315b-fcd1-4428-aca8-15babc9a2da2")?;
assert_eq!(iri.path_str(), "uuid:10db315b-fcd1-4428-aca8-15babc9a2da2");
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("foo/bar:baz")?;
assert_eq!(iri.path_str(), "foo/bar:baz");
sourcepub fn query_str(&self) -> Option<&str>
pub fn query_str(&self) -> Option<&str>
Returns the query.
The leading question mark (?
) is truncated.
Examples
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("http://example.com/pathpath?queryquery#fragfrag")?;
assert_eq!(iri.query_str(), Some("queryquery"));
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("urn:uuid:10db315b-fcd1-4428-aca8-15babc9a2da2")?;
assert_eq!(iri.query_str(), None);
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("foo/bar:baz?")?;
assert_eq!(iri.query_str(), Some(""));
sourcepub fn fragment(&self) -> Option<&RiFragmentStr<S>>
pub fn fragment(&self) -> Option<&RiFragmentStr<S>>
Returns the fragment part if exists.
A leading #
character is truncated if the fragment part exists.
Examples
If the IRI has a fragment part, Some(_)
is returned.
let iri = IriReferenceStr::new("foo://bar/baz?qux=quux#corge")?;
let fragment = IriFragmentStr::new("corge")?;
assert_eq!(iri.fragment(), Some(fragment));
let iri = IriReferenceStr::new("#foo")?;
let fragment = IriFragmentStr::new("foo")?;
assert_eq!(iri.fragment(), Some(fragment));
When the fragment part exists but is empty string, Some(_)
is returned.
let iri = IriReferenceStr::new("foo://bar/baz?qux=quux#")?;
let fragment = IriFragmentStr::new("")?;
assert_eq!(iri.fragment(), Some(fragment));
let iri = IriReferenceStr::new("#")?;
let fragment = IriFragmentStr::new("")?;
assert_eq!(iri.fragment(), Some(fragment));
If the IRI has no fragment, None
is returned.
let iri = IriReferenceStr::new("foo://bar/baz?qux=quux")?;
assert_eq!(iri.fragment(), None);
let iri = IriReferenceStr::new("")?;
assert_eq!(iri.fragment(), None);
Returns the authority components.
Examples
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("http://user:pass@example.com:8080/pathpath?queryquery")?;
let authority = iri.authority_components()
.expect("authority is available");
assert_eq!(authority.userinfo(), Some("user:pass"));
assert_eq!(authority.host(), "example.com");
assert_eq!(authority.port(), Some("8080"));
use iri_string::types::IriReferenceStr;
let iri = IriReferenceStr::new("foo//bar:baz")?;
assert_eq!(iri.authority_str(), None);
sourceimpl RiReferenceStr<IriSpec>
impl RiReferenceStr<IriSpec>
Conversion from an IRI into a URI.
sourcepub fn encode_to_uri(&self) -> UriReferenceString
pub fn encode_to_uri(&self) -> UriReferenceString
Percent-encodes the IRI into a valid URI that identifies the equivalent resource.
If you need more precise control over memory allocation and buffer
handling, use MappedToUri
type.
Examples
use iri_string::types::{IriReferenceStr, UriReferenceString};
let iri = IriReferenceStr::new("http://example.com/?alpha=\u{03B1}")?;
// Type annotation here is not necessary.
let uri: UriReferenceString = iri.encode_to_uri();
assert_eq!(uri, "http://example.com/?alpha=%CE%B1");
sourcepub fn as_uri(&self) -> Option<&UriReferenceStr>
pub fn as_uri(&self) -> Option<&UriReferenceStr>
Converts an IRI into a URI without modification, if possible.
This is semantically equivalent to
UriReferenceStr::new(self.as_str()).ok()
.
Examples
use iri_string::types::{IriReferenceStr, UriReferenceStr};
let ascii_iri = IriReferenceStr::new("http://example.com/?alpha=%CE%B1")?;
assert_eq!(
ascii_iri.as_uri().map(AsRef::as_ref),
Some("http://example.com/?alpha=%CE%B1")
);
let nonascii_iri = IriReferenceStr::new("http://example.com/?alpha=\u{03B1}")?;
assert_eq!(nonascii_iri.as_uri(), None);
Trait Implementations
sourceimpl AsRef<RiReferenceStr<IriSpec>> for UriReferenceStr
impl AsRef<RiReferenceStr<IriSpec>> for UriReferenceStr
sourcefn as_ref(&self) -> &IriReferenceStr
fn as_ref(&self) -> &IriReferenceStr
Performs the conversion.
sourceimpl AsRef<RiReferenceStr<IriSpec>> for UriReferenceString
impl AsRef<RiReferenceStr<IriSpec>> for UriReferenceString
sourcefn as_ref(&self) -> &IriReferenceStr
fn as_ref(&self) -> &IriReferenceStr
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiAbsoluteStr<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiAbsoluteStr<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiAbsoluteString<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiAbsoluteString<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiStr<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiStr<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiString<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiString<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiReferenceStr<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiReferenceStr<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiReferenceString<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiReferenceString<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiRelativeStr<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiRelativeStr<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<RiReferenceStr<S>> for RiRelativeString<S>
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiRelativeString<S>
sourcefn as_ref(&self) -> &RiReferenceStr<S>
fn as_ref(&self) -> &RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> AsRef<str> for RiReferenceStr<S>
impl<S: Spec> AsRef<str> for RiReferenceStr<S>
sourceimpl<S: Spec> Borrow<RiReferenceStr<S>> for RiReferenceString<S>
impl<S: Spec> Borrow<RiReferenceStr<S>> for RiReferenceString<S>
sourcefn borrow(&self) -> &RiReferenceStr<S>
fn borrow(&self) -> &RiReferenceStr<S>
Immutably borrows from an owned value. Read more
sourceimpl<S: Spec> Debug for RiReferenceStr<S>
impl<S: Spec> Debug for RiReferenceStr<S>
sourceimpl<'de: 'a, 'a, S: 'de + Spec> Deserialize<'de> for &'a RiReferenceStr<S>
impl<'de: 'a, 'a, S: 'de + Spec> Deserialize<'de> for &'a RiReferenceStr<S>
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<S: Spec> Display for RiReferenceStr<S>
impl<S: Spec> Display for RiReferenceStr<S>
sourceimpl<S: Spec> From<&'_ RiReferenceStr<S>> for Arc<RiReferenceStr<S>>
impl<S: Spec> From<&'_ RiReferenceStr<S>> for Arc<RiReferenceStr<S>>
sourcefn from(s: &RiReferenceStr<S>) -> Self
fn from(s: &RiReferenceStr<S>) -> Self
Performs the conversion.
sourceimpl<S: Spec> From<&'_ RiReferenceStr<S>> for Box<RiReferenceStr<S>>
impl<S: Spec> From<&'_ RiReferenceStr<S>> for Box<RiReferenceStr<S>>
sourcefn from(s: &RiReferenceStr<S>) -> Self
fn from(s: &RiReferenceStr<S>) -> Self
Performs the conversion.
sourceimpl<S: Spec> From<&'_ RiReferenceStr<S>> for Rc<RiReferenceStr<S>>
impl<S: Spec> From<&'_ RiReferenceStr<S>> for Rc<RiReferenceStr<S>>
sourcefn from(s: &RiReferenceStr<S>) -> Self
fn from(s: &RiReferenceStr<S>) -> Self
Performs the conversion.
sourceimpl<S: Spec> From<&'_ RiReferenceStr<S>> for RiReferenceString<S>
impl<S: Spec> From<&'_ RiReferenceStr<S>> for RiReferenceString<S>
sourcefn from(s: &RiReferenceStr<S>) -> Self
fn from(s: &RiReferenceStr<S>) -> Self
Performs the conversion.
sourceimpl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a RiReferenceStr<S>
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a RiReferenceStr<S>
sourcefn from(s: &'a RiAbsoluteStr<S>) -> &'a RiReferenceStr<S>
fn from(s: &'a RiAbsoluteStr<S>) -> &'a RiReferenceStr<S>
Performs the conversion.
sourceimpl<'a> From<&'a RiReferenceStr<IriSpec>> for MappedToUri<'a, IriReferenceStr>
impl<'a> From<&'a RiReferenceStr<IriSpec>> for MappedToUri<'a, IriReferenceStr>
sourcefn from(iri: &'a IriReferenceStr) -> Self
fn from(iri: &'a IriReferenceStr) -> Self
Performs the conversion.
sourceimpl<'a, S: Spec> From<&'a RiReferenceStr<S>> for &'a str
impl<'a, S: Spec> From<&'a RiReferenceStr<S>> for &'a str
sourcefn from(s: &'a RiReferenceStr<S>) -> &'a str
fn from(s: &'a RiReferenceStr<S>) -> &'a str
Performs the conversion.
sourceimpl<'a> From<&'a RiReferenceStr<UriSpec>> for MappedToUri<'a, UriReferenceStr>
impl<'a> From<&'a RiReferenceStr<UriSpec>> for MappedToUri<'a, UriReferenceStr>
sourcefn from(iri: &'a UriReferenceStr) -> Self
fn from(iri: &'a UriReferenceStr) -> Self
Performs the conversion.
sourceimpl<'a, S: Spec> From<&'a RiRelativeStr<S>> for &'a RiReferenceStr<S>
impl<'a, S: Spec> From<&'a RiRelativeStr<S>> for &'a RiReferenceStr<S>
sourcefn from(s: &'a RiRelativeStr<S>) -> &'a RiReferenceStr<S>
fn from(s: &'a RiRelativeStr<S>) -> &'a RiReferenceStr<S>
Performs the conversion.
sourceimpl<'a, S: Spec> From<&'a RiStr<S>> for &'a RiReferenceStr<S>
impl<'a, S: Spec> From<&'a RiStr<S>> for &'a RiReferenceStr<S>
sourcefn from(s: &'a RiStr<S>) -> &'a RiReferenceStr<S>
fn from(s: &'a RiStr<S>) -> &'a RiReferenceStr<S>
Performs the conversion.
sourceimpl<S: Spec> Hash for RiReferenceStr<S>
impl<S: Spec> Hash for RiReferenceStr<S>
sourceimpl<S: Spec> Ord for RiReferenceStr<S>
impl<S: Spec> Ord for RiReferenceStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiReferenceStr<T>
sourceimpl<S: Spec> PartialEq<&'_ RiReferenceStr<S>> for str
impl<S: Spec> PartialEq<&'_ RiReferenceStr<S>> for str
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for Cow<'_, RiReferenceStr<T>>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for Cow<'_, RiReferenceStr<T>>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for RiReferenceString<T>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for RiReferenceString<T>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiAbsoluteString<S>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiAbsoluteString<S>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiRelativeStr<S>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiRelativeStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiRelativeString<S>
impl<S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiRelativeString<S>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiRelativeStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<&'_ RiRelativeStr<S>> for RiReferenceStr<T>
sourceimpl<S: Spec> PartialEq<&'_ str> for RiReferenceStr<S>
impl<S: Spec> PartialEq<&'_ str> for RiReferenceStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for &RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiReferenceStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiRelativeStr<S>>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiRelativeStr<S>>> for &RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for &RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<S>> for RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<S>> for &RiReferenceStr<T>
sourceimpl<S: Spec> PartialEq<RiReferenceStr<S>> for RiReferenceStr<S>
impl<S: Spec> PartialEq<RiReferenceStr<S>> for RiReferenceStr<S>
sourceimpl<S: Spec> PartialEq<RiReferenceStr<S>> for str
impl<S: Spec> PartialEq<RiReferenceStr<S>> for str
sourceimpl<S: Spec> PartialEq<RiReferenceStr<S>> for &str
impl<S: Spec> PartialEq<RiReferenceStr<S>> for &str
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<S>> for RiReferenceString<T>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<S>> for RiReferenceString<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &RiRelativeStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &RiRelativeStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiRelativeString<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiRelativeString<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiAbsoluteString<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiAbsoluteString<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &RiReferenceStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiRelativeStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiRelativeStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for RiReferenceStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for &RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for &RiReferenceStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiRelativeStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiRelativeStr<S>> for RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiRelativeStr<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiRelativeStr<S>> for &RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiRelativeString<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiRelativeString<S>> for RiReferenceStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<RiRelativeString<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialEq<RiRelativeString<S>> for &RiReferenceStr<T>
sourceimpl<S: Spec> PartialEq<str> for RiReferenceStr<S>
impl<S: Spec> PartialEq<str> for RiReferenceStr<S>
sourceimpl<S: Spec> PartialEq<str> for &RiReferenceStr<S>
impl<S: Spec> PartialEq<str> for &RiReferenceStr<S>
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<&'_ RiReferenceStr<S>> for str
impl<S: Spec> PartialOrd<&'_ RiReferenceStr<S>> for str
sourcefn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<&'_ RiReferenceStr<S>> for Cow<'_, str>
impl<S: Spec> PartialOrd<&'_ RiReferenceStr<S>> for Cow<'_, str>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<S>> for Cow<'_, RiReferenceStr<T>>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<S>> for Cow<'_, RiReferenceStr<T>>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<S>> for RiReferenceString<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<S>> for RiReferenceString<T>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiAbsoluteString<S>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiAbsoluteString<S>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiStr<S>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiStr<S>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for Cow<'_, RiStr<S>>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for Cow<'_, RiStr<S>>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiString<S>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiString<S>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiRelativeStr<S>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiRelativeStr<S>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiRelativeString<S>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiRelativeString<S>
sourcefn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiRelativeStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiRelativeStr<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &&RiRelativeStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiRelativeStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<&'_ RiStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiStr<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &&RiStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<&'_ str> for RiReferenceStr<S>
impl<S: Spec> PartialOrd<&'_ str> for RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &&str) -> Option<Ordering>
fn partial_cmp(&self, o: &&str) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &Cow<'_, RiRelativeStr<S>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiRelativeStr<S>>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiRelativeStr<S>>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiRelativeStr<S>>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &Cow<'_, RiRelativeStr<S>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiRelativeStr<S>>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<S>>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<S>>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &Cow<'_, RiStr<S>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiStr<S>>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<S>>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<S>>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &Cow<'_, RiStr<S>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiStr<S>>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<Cow<'_, str>> for RiReferenceStr<S>
impl<S: Spec> PartialOrd<Cow<'_, str>> for RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<Cow<'_, str>> for &RiReferenceStr<S>
impl<S: Spec> PartialOrd<Cow<'_, str>> for &RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiAbsoluteString<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteString<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiAbsoluteString<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiAbsoluteString<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiAbsoluteString<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteString<S>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiAbsoluteString<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiAbsoluteString<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<RiReferenceStr<S>> for RiReferenceStr<S>
impl<S: Spec> PartialOrd<RiReferenceStr<S>> for RiReferenceStr<S>
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<RiReferenceStr<S>> for str
impl<S: Spec> PartialOrd<RiReferenceStr<S>> for str
sourcefn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<RiReferenceStr<S>> for &str
impl<S: Spec> PartialOrd<RiReferenceStr<S>> for &str
sourcefn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<RiReferenceStr<S>> for Cow<'_, str>
impl<S: Spec> PartialOrd<RiReferenceStr<S>> for Cow<'_, str>
sourcefn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<S>> for RiReferenceString<T>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<S>> for RiReferenceString<T>
sourcefn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiRelativeStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiRelativeStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiRelativeString<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiRelativeString<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiAbsoluteString<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiAbsoluteString<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiStr<S>>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiStr<S>>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiString<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiString<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiRelativeStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiRelativeStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for &RiReferenceStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for &RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiRelativeStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiRelativeStr<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiRelativeStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiRelativeStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiRelativeStr<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiRelativeStr<S>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiRelativeStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiRelativeStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiRelativeString<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiRelativeString<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiRelativeString<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiRelativeString<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiRelativeString<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiRelativeString<S>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiRelativeString<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiRelativeString<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiStr<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiStr<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiStr<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiStr<S>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiStr<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiStr<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiString<S>> for RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiString<S>> for RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiString<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiString<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec, T: Spec> PartialOrd<RiString<S>> for &RiReferenceStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiString<S>> for &RiReferenceStr<T>
sourcefn partial_cmp(&self, o: &RiString<S>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiString<S>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<str> for RiReferenceStr<S>
impl<S: Spec> PartialOrd<str> for RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &str) -> Option<Ordering>
fn partial_cmp(&self, o: &str) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S: Spec> PartialOrd<str> for &RiReferenceStr<S>
impl<S: Spec> PartialOrd<str> for &RiReferenceStr<S>
sourcefn partial_cmp(&self, o: &str) -> Option<Ordering>
fn partial_cmp(&self, o: &str) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<S> Serialize for RiReferenceStr<S> where
S: Spec,
impl<S> Serialize for RiReferenceStr<S> where
S: Spec,
sourceimpl<S: Spec> ToOwned for RiReferenceStr<S>
impl<S: Spec> ToOwned for RiReferenceStr<S>
type Owned = RiReferenceString<S>
type Owned = RiReferenceString<S>
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<'a, S: Spec> TryFrom<&'a RiReferenceStr<S>> for &'a RiAbsoluteStr<S>
impl<'a, S: Spec> TryFrom<&'a RiReferenceStr<S>> for &'a RiAbsoluteStr<S>
sourceimpl<'a, S: Spec> TryFrom<&'a RiReferenceStr<S>> for &'a RiStr<S>
impl<'a, S: Spec> TryFrom<&'a RiReferenceStr<S>> for &'a RiStr<S>
sourceimpl<'a, S: Spec> TryFrom<&'a RiReferenceStr<S>> for &'a RiRelativeStr<S>
impl<'a, S: Spec> TryFrom<&'a RiReferenceStr<S>> for &'a RiRelativeStr<S>
sourceimpl<'a, S: Spec> TryFrom<&'a str> for &'a RiReferenceStr<S>
impl<'a, S: Spec> TryFrom<&'a str> for &'a RiReferenceStr<S>
impl<S: Spec> Eq for RiReferenceStr<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for RiReferenceStr<S>
impl<S> Send for RiReferenceStr<S>
impl<S> !Sized for RiReferenceStr<S>
impl<S> Sync for RiReferenceStr<S>
impl<S> Unpin for RiReferenceStr<S>
impl<S> UnwindSafe for RiReferenceStr<S>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more