Struct iri_string::types::RiAbsoluteStr
source · [−]#[repr(transparent)]pub struct RiAbsoluteStr<S> { /* private fields */ }Expand description
A borrowed slice of an absolute IRI without fragment part.
This corresponds to absolute-IRI rule in RFC 3987
(and absolute-URI rule in RFC 3986).
In other words, this is RiStr without fragment part.
If you want to accept fragment part, use RiStr.
Valid values
This type can have an absolute IRI without fragment part.
assert!(IriAbsoluteStr::new("https://example.com/foo?bar=baz").is_ok());
assert!(IriAbsoluteStr::new("foo:bar").is_ok());
// Scheme `foo` and empty path.
assert!(IriAbsoluteStr::new("foo:").is_ok());
// `foo://.../` below are all allowed. See the crate documentation for detail.
assert!(IriAbsoluteStr::new("foo:/").is_ok());
assert!(IriAbsoluteStr::new("foo://").is_ok());
assert!(IriAbsoluteStr::new("foo:///").is_ok());
assert!(IriAbsoluteStr::new("foo:////").is_ok());
assert!(IriAbsoluteStr::new("foo://///").is_ok());
Relative IRI is not allowed.
// This is relative path.
assert!(IriAbsoluteStr::new("foo/bar").is_err());
// `/foo/bar` is an absolute path, but it is authority-relative.
assert!(IriAbsoluteStr::new("/foo/bar").is_err());
// `//foo/bar` is termed "network-path reference",
// or usually called "protocol-relative reference".
assert!(IriAbsoluteStr::new("//foo/bar").is_err());
// Empty string is not a valid absolute IRI.
assert!(IriAbsoluteStr::new("").is_err());Fragment part (such as trailing #foo) is not allowed.
// Fragment part is not allowed.
assert!(IriAbsoluteStr::new("https://example.com/foo?bar=baz#qux").is_err());Some characters and sequences cannot used in an absolute IRI.
// `<` and `>` cannot directly appear in an absolute IRI.
assert!(IriAbsoluteStr::new("<not allowed>").is_err());
// Broken percent encoding cannot appear in an absolute IRI.
assert!(IriAbsoluteStr::new("%").is_err());
assert!(IriAbsoluteStr::new("%GG").is_err());Implementations
sourceimpl<S: Spec> RiAbsoluteStr<S>
impl<S: Spec> RiAbsoluteStr<S>
sourceimpl<S: Spec> RiAbsoluteStr<S>
impl<S: Spec> RiAbsoluteStr<S>
sourcepub fn is_normalized(&self) -> bool
pub fn is_normalized(&self) -> bool
Returns true if the IRI is already normalized.
This returns the same result as
self.normalize.map_or(false, |normalized| normalized == self)), but
does this more efficiently without heap allocation.
Examples
use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("HTTP://example.COM/foo/./bar/%2e%2e/../baz?query")?;
assert!(!iri.is_normalized());
let normalized = iri.normalize()?;
assert_eq!(normalized, "http://example.com/baz?query");
assert!(normalized.is_normalized());sourcepub fn normalize(&self) -> Result<RiAbsoluteString<S>, TaskError<Error>>
pub fn normalize(&self) -> Result<RiAbsoluteString<S>, TaskError<Error>>
Returns the normalized IRI.
If you want to avoid serialization errors (except for memory allocation
failure), use normalize_whatwg method.
Examples
use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("HTTP://example.COM/foo/./bar/%2e%2e/../baz?query")?;
let normalized = iri.normalize()?;
assert_eq!(normalized, "http://example.com/baz?query");sourcepub fn is_normalized_whatwg(&self) -> bool
pub fn is_normalized_whatwg(&self) -> bool
Returns true if the IRI is already normalized in the sense of WHATWG spec.
This returns the same result as
self.normalize_whatwg.map_or(false, |normalized| normalized == self)),
but does this more efficiently without heap allocation.
Examples
use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("scheme:a/..//not-a-host")?;
assert!(!iri.is_normalized_whatwg());
let normalized = iri.normalize_whatwg()?;
assert_eq!(normalized, "scheme:/.//not-a-host");
assert!(normalized.is_normalized_whatwg());
assert!(!normalized.is_normalized(), "not normalized in the sense of RFC 3987");sourcepub fn normalize_whatwg(&self) -> Result<RiAbsoluteString<S>, TaskError<Error>>
pub fn normalize_whatwg(&self) -> Result<RiAbsoluteString<S>, TaskError<Error>>
Returns the normalized IRI serialized using WHATWG URL Standard.
Examples
use iri_string::types::IriAbsoluteStr;
let iri1 = IriAbsoluteStr::new("scheme:/..//bar")?;
assert!(iri1.normalize().is_err(), "`scheme://bar` is not intended result");
assert_eq!(iri1.normalize_whatwg()?, "scheme:/.//bar");
let iri2 = IriAbsoluteStr::new("scheme:..///bar")?;
assert!(iri2.normalize().is_err(), "`scheme://bar` is not intended result");
assert_eq!(iri2.normalize_whatwg()?, "scheme:/.//bar");sourceimpl<S: Spec> RiAbsoluteStr<S>
impl<S: Spec> RiAbsoluteStr<S>
Components getters.
sourcepub fn scheme_str(&self) -> &str
pub fn scheme_str(&self) -> &str
Returns the scheme.
The following colon is truncated.
Examples
use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("http://example.com/pathpath?queryquery")?;
assert_eq!(iri.scheme_str(), "http");Returns the authority.
The leading // is truncated.
Examples
use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("http://example.com/pathpath?queryquery")?;
assert_eq!(iri.authority_str(), Some("example.com"));use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("urn:uuid:10db315b-fcd1-4428-aca8-15babc9a2da2")?;
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::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("http://example.com/pathpath?queryquery")?;
assert_eq!(iri.path_str(), "/pathpath");use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("urn:uuid:10db315b-fcd1-4428-aca8-15babc9a2da2")?;
assert_eq!(iri.path_str(), "uuid:10db315b-fcd1-4428-aca8-15babc9a2da2");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::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("http://example.com/pathpath?queryquery")?;
assert_eq!(iri.query_str(), Some("queryquery"));use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("urn:uuid:10db315b-fcd1-4428-aca8-15babc9a2da2")?;
assert_eq!(iri.query_str(), None);Returns the authority components.
Examples
use iri_string::types::IriAbsoluteStr;
let iri = IriAbsoluteStr::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::IriAbsoluteStr;
let iri = IriAbsoluteStr::new("urn:uuid:10db315b-fcd1-4428-aca8-15babc9a2da2")?;
assert_eq!(iri.authority_str(), None);sourceimpl RiAbsoluteStr<IriSpec>
impl RiAbsoluteStr<IriSpec>
Conversion from an IRI into a URI.
sourcepub fn encode_to_uri(&self) -> UriAbsoluteString
pub fn encode_to_uri(&self) -> UriAbsoluteString
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::{IriAbsoluteStr, UriAbsoluteString};
let iri = IriAbsoluteStr::new("http://example.com/?alpha=\u{03B1}")?;
// Type annotation here is not necessary.
let uri: UriAbsoluteString = iri.encode_to_uri();
assert_eq!(uri, "http://example.com/?alpha=%CE%B1");sourcepub fn as_uri(&self) -> Option<&UriAbsoluteStr>
pub fn as_uri(&self) -> Option<&UriAbsoluteStr>
Converts an IRI into a URI without modification, if possible.
This is semantically equivalent to
UriAbsoluteStr::new(self.as_str()).ok().
Examples
use iri_string::types::{IriAbsoluteStr, UriAbsoluteStr};
let ascii_iri = IriAbsoluteStr::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 = IriAbsoluteStr::new("http://example.com/?alpha=\u{03B1}")?;
assert_eq!(nonascii_iri.as_uri(), None);Trait Implementations
sourceimpl AsRef<RiAbsoluteStr<IriSpec>> for UriAbsoluteStr
impl AsRef<RiAbsoluteStr<IriSpec>> for UriAbsoluteStr
sourcefn as_ref(&self) -> &IriAbsoluteStr
fn as_ref(&self) -> &IriAbsoluteStr
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<RiAbsoluteStr<IriSpec>> for UriAbsoluteString
impl AsRef<RiAbsoluteStr<IriSpec>> for UriAbsoluteString
sourcefn as_ref(&self) -> &IriAbsoluteStr
fn as_ref(&self) -> &IriAbsoluteStr
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl<S: Spec> AsRef<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
impl<S: Spec> AsRef<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
sourcefn as_ref(&self) -> &RiAbsoluteStr<S>
fn as_ref(&self) -> &RiAbsoluteStr<S>
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl<S: Spec> AsRef<RiAbsoluteStr<S>> for RiAbsoluteString<S>
impl<S: Spec> AsRef<RiAbsoluteStr<S>> for RiAbsoluteString<S>
sourcefn as_ref(&self) -> &RiAbsoluteStr<S>
fn as_ref(&self) -> &RiAbsoluteStr<S>
Converts this type into a shared reference of the (usually inferred) input type.
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>
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl<S: Spec> AsRef<RiStr<S>> for RiAbsoluteStr<S>
impl<S: Spec> AsRef<RiStr<S>> for RiAbsoluteStr<S>
sourceimpl<S: Spec> AsRef<str> for RiAbsoluteStr<S>
impl<S: Spec> AsRef<str> for RiAbsoluteStr<S>
sourceimpl<S: Spec> Borrow<RiAbsoluteStr<S>> for RiAbsoluteString<S>
impl<S: Spec> Borrow<RiAbsoluteStr<S>> for RiAbsoluteString<S>
sourcefn borrow(&self) -> &RiAbsoluteStr<S>
fn borrow(&self) -> &RiAbsoluteStr<S>
Immutably borrows from an owned value. Read more
sourceimpl<S: Spec> Debug for RiAbsoluteStr<S>
impl<S: Spec> Debug for RiAbsoluteStr<S>
sourceimpl<'de: 'a, 'a, S: 'de + Spec> Deserialize<'de> for &'a RiAbsoluteStr<S>
impl<'de: 'a, 'a, S: 'de + Spec> Deserialize<'de> for &'a RiAbsoluteStr<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 RiAbsoluteStr<S>
impl<S: Spec> Display for RiAbsoluteStr<S>
sourceimpl<S: Spec> From<&'_ RiAbsoluteStr<S>> for Arc<RiAbsoluteStr<S>>
impl<S: Spec> From<&'_ RiAbsoluteStr<S>> for Arc<RiAbsoluteStr<S>>
sourcefn from(s: &RiAbsoluteStr<S>) -> Self
fn from(s: &RiAbsoluteStr<S>) -> Self
Converts to this type from the input type.
sourceimpl<S: Spec> From<&'_ RiAbsoluteStr<S>> for Box<RiAbsoluteStr<S>>
impl<S: Spec> From<&'_ RiAbsoluteStr<S>> for Box<RiAbsoluteStr<S>>
sourcefn from(s: &RiAbsoluteStr<S>) -> Self
fn from(s: &RiAbsoluteStr<S>) -> Self
Converts to this type from the input type.
sourceimpl<S: Spec> From<&'_ RiAbsoluteStr<S>> for Rc<RiAbsoluteStr<S>>
impl<S: Spec> From<&'_ RiAbsoluteStr<S>> for Rc<RiAbsoluteStr<S>>
sourcefn from(s: &RiAbsoluteStr<S>) -> Self
fn from(s: &RiAbsoluteStr<S>) -> Self
Converts to this type from the input type.
sourceimpl<S: Spec> From<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<S>
impl<S: Spec> From<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<S>
sourcefn from(s: &RiAbsoluteStr<S>) -> Self
fn from(s: &RiAbsoluteStr<S>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a RiAbsoluteStr<IriSpec>> for MappedToUri<'a, IriAbsoluteStr>
impl<'a> From<&'a RiAbsoluteStr<IriSpec>> for MappedToUri<'a, IriAbsoluteStr>
sourcefn from(iri: &'a IriAbsoluteStr) -> Self
fn from(iri: &'a IriAbsoluteStr) -> Self
Converts to this type from the input type.
sourceimpl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for NormalizationTask<'a, RiAbsoluteStr<S>>
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for NormalizationTask<'a, RiAbsoluteStr<S>>
sourcefn from(iri: &'a RiAbsoluteStr<S>) -> Self
fn from(iri: &'a RiAbsoluteStr<S>) -> Self
Converts to this type from the input type.
sourceimpl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for Cow<'a, RiAbsoluteStr<S>>
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for Cow<'a, RiAbsoluteStr<S>>
sourcefn from(s: &'a RiAbsoluteStr<S>) -> Self
fn from(s: &'a RiAbsoluteStr<S>) -> Self
Converts to this type from the input type.
sourceimpl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a str
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a str
sourcefn from(s: &'a RiAbsoluteStr<S>) -> &'a str
fn from(s: &'a RiAbsoluteStr<S>) -> &'a str
Converts to this type from the input type.
sourceimpl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a RiStr<S>
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a RiStr<S>
sourcefn from(s: &'a RiAbsoluteStr<S>) -> &'a RiStr<S>
fn from(s: &'a RiAbsoluteStr<S>) -> &'a RiStr<S>
Converts to this type from the input type.
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>
Converts to this type from the input type.
sourceimpl<'a> From<&'a RiAbsoluteStr<UriSpec>> for MappedToUri<'a, UriAbsoluteStr>
impl<'a> From<&'a RiAbsoluteStr<UriSpec>> for MappedToUri<'a, UriAbsoluteStr>
sourcefn from(iri: &'a UriAbsoluteStr) -> Self
fn from(iri: &'a UriAbsoluteStr) -> Self
Converts to this type from the input type.
sourceimpl<S: Spec> Hash for RiAbsoluteStr<S>
impl<S: Spec> Hash for RiAbsoluteStr<S>
sourceimpl<S: Spec> Ord for RiAbsoluteStr<S>
impl<S: Spec> Ord for RiAbsoluteStr<S>
sourceimpl<S: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for str
impl<S: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for str
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiAbsoluteStr<T>
impl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiAbsoluteStr<T>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiReferenceString<T>
impl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiReferenceString<T>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for Cow<'_, RiAbsoluteStr<T>>
impl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for Cow<'_, RiAbsoluteStr<T>>
sourceimpl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<T>
impl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<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 Cow<'_, RiReferenceStr<T>>
impl<S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<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> PartialEq<&'_ str> for RiAbsoluteStr<S>
impl<S: Spec> PartialEq<&'_ str> for RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<T>>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<T>>> for &RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiAbsoluteStr<S>
sourceimpl<S: Spec> PartialEq<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
impl<S: Spec> PartialEq<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
sourceimpl<S: Spec> PartialEq<RiAbsoluteStr<S>> for str
impl<S: Spec> PartialEq<RiAbsoluteStr<S>> for str
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 Cow<'_, RiReferenceStr<T>>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiReferenceString<T>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiReferenceString<T>
sourceimpl<S: Spec> PartialEq<RiAbsoluteStr<S>> for &str
impl<S: Spec> PartialEq<RiAbsoluteStr<S>> for &str
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiAbsoluteString<T>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiAbsoluteString<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<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<T>> for &RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<T>> for RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<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 &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for RiAbsoluteStr<S>
sourceimpl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for &RiAbsoluteStr<S>
sourceimpl<S: Spec> PartialEq<str> for RiAbsoluteStr<S>
impl<S: Spec> PartialEq<str> for RiAbsoluteStr<S>
sourceimpl<S: Spec> PartialEq<str> for &RiAbsoluteStr<S>
impl<S: Spec> PartialEq<str> for &RiAbsoluteStr<S>
sourceimpl<S: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for str
impl<S: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for str
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 RiAbsoluteStr<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiAbsoluteStr<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 RiReferenceString<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiReferenceString<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<&'_ RiAbsoluteStr<S>> for Cow<'_, str>
impl<S: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, str>
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 Cow<'_, RiAbsoluteStr<T>>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, RiAbsoluteStr<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 RiAbsoluteString<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<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 RiStr<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiStr<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 Cow<'_, RiStr<T>>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, RiStr<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 RiString<T>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiString<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<&'_ RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, 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<&'_ 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<&'_ RiStr<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<&'_ RiStr<T>> for RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &&RiStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &&RiStr<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> PartialOrd<&'_ str> for RiAbsoluteStr<S>
impl<S: Spec> PartialOrd<&'_ str> for RiAbsoluteStr<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<T>>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiAbsoluteStr<T>>> for &RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<T>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<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<'_, RiReferenceStr<T>>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiReferenceStr<T>>> for RiAbsoluteStr<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<'_, RiReferenceStr<T>>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &RiAbsoluteStr<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<'_, RiStr<T>>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<T>>> for RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &Cow<'_, RiStr<T>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiStr<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<'_, RiStr<T>>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<T>>> for &RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &Cow<'_, RiStr<T>>) -> Option<Ordering>
fn partial_cmp(&self, o: &Cow<'_, RiStr<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> PartialOrd<Cow<'_, str>> for RiAbsoluteStr<S>
impl<S: Spec> PartialOrd<Cow<'_, str>> for RiAbsoluteStr<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 &RiAbsoluteStr<S>
impl<S: Spec> PartialOrd<Cow<'_, str>> for &RiAbsoluteStr<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<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
impl<S: Spec> PartialOrd<RiAbsoluteStr<S>> for RiAbsoluteStr<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<RiAbsoluteStr<S>> for str
impl<S: Spec> PartialOrd<RiAbsoluteStr<S>> for str
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<RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, 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 RiReferenceString<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiReferenceString<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<RiAbsoluteStr<S>> for &str
impl<S: Spec> PartialOrd<RiAbsoluteStr<S>> for &str
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<RiAbsoluteStr<S>> for Cow<'_, str>
impl<S: Spec> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, str>
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 RiAbsoluteString<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiAbsoluteString<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 RiStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiStr<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 &RiStr<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for &RiStr<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 Cow<'_, RiStr<T>>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, RiStr<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 RiString<T>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiString<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<RiAbsoluteStr<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<T>> for &RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiAbsoluteStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiAbsoluteStr<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<RiAbsoluteString<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteString<T>> for RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiAbsoluteString<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiAbsoluteString<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<RiAbsoluteString<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteString<T>> for &RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiAbsoluteString<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiAbsoluteString<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 &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<RiReferenceString<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for RiAbsoluteStr<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 &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for &RiAbsoluteStr<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<RiStr<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiStr<T>> for RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiStr<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<RiStr<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiStr<T>> for &RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiStr<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiStr<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<RiString<T>> for RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiString<T>> for RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiString<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiString<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<RiString<T>> for &RiAbsoluteStr<S>
impl<S: Spec, T: Spec> PartialOrd<RiString<T>> for &RiAbsoluteStr<S>
sourcefn partial_cmp(&self, o: &RiString<T>) -> Option<Ordering>
fn partial_cmp(&self, o: &RiString<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> PartialOrd<str> for RiAbsoluteStr<S>
impl<S: Spec> PartialOrd<str> for RiAbsoluteStr<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 &RiAbsoluteStr<S>
impl<S: Spec> PartialOrd<str> for &RiAbsoluteStr<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 RiAbsoluteStr<S> where
S: Spec,
impl<S> Serialize for RiAbsoluteStr<S> where
S: Spec,
sourceimpl<S: Spec> ToOwned for RiAbsoluteStr<S>
impl<S: Spec> ToOwned for RiAbsoluteStr<S>
type Owned = RiAbsoluteString<S>
type Owned = RiAbsoluteString<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 RiStr<S>> for &'a RiAbsoluteStr<S>
impl<'a, S: Spec> TryFrom<&'a RiStr<S>> for &'a RiAbsoluteStr<S>
sourceimpl<'a, S: Spec> TryFrom<&'a str> for &'a RiAbsoluteStr<S>
impl<'a, S: Spec> TryFrom<&'a str> for &'a RiAbsoluteStr<S>
impl<S: Spec> Eq for RiAbsoluteStr<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for RiAbsoluteStr<S>
impl<S> Send for RiAbsoluteStr<S>
impl<S> !Sized for RiAbsoluteStr<S>
impl<S> Sync for RiAbsoluteStr<S>
impl<S> Unpin for RiAbsoluteStr<S>
impl<S> UnwindSafe for RiAbsoluteStr<S>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more