[−][src]Struct iri_string::types::RiAbsoluteStr
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());
Methods
impl<S: Spec> RiAbsoluteStr<S>
[src]
pub fn new(s: &str) -> Result<&Self, Error>
[src]
Creates a new string.
pub fn as_str(&self) -> &str
[src]
Returns &str
.
pub fn len(&self) -> usize
[src]
Returns the string length.
pub fn is_empty(&self) -> bool
[src]
Returns whether the string is empty.
Trait Implementations
impl AsRef<RiAbsoluteStr<IriSpec>> for RiAbsoluteStr<UriSpec>
[src]
fn as_ref(&self) -> &RiAbsoluteStr<IriSpec>
[src]
impl AsRef<RiAbsoluteStr<IriSpec>> for RiAbsoluteString<UriSpec>
[src]
fn as_ref(&self) -> &RiAbsoluteStr<IriSpec>
[src]
impl<S: Spec> AsRef<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
[src]
fn as_ref(&self) -> &RiAbsoluteStr<S>
[src]
impl<S: Spec> AsRef<RiAbsoluteStr<S>> for RiAbsoluteString<S>
[src]
fn as_ref(&self) -> &RiAbsoluteStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiAbsoluteStr<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiStr<S>> for RiAbsoluteStr<S>
[src]
impl<S: Spec> AsRef<str> for RiAbsoluteStr<S>
[src]
impl<S: Spec> Borrow<RiAbsoluteStr<S>> for RiAbsoluteString<S>
[src]
fn borrow(&self) -> &RiAbsoluteStr<S>
[src]
impl<S: Spec> Debug for RiAbsoluteStr<S>
[src]
impl<'de: 'a, 'a, S: 'de + Spec> Deserialize<'de> for &'a RiAbsoluteStr<S>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<S: Spec> Display for RiAbsoluteStr<S>
[src]
impl<S: Spec> Eq for RiAbsoluteStr<S>
[src]
impl<'_, S: Spec> From<&'_ RiAbsoluteStr<S>> for Arc<RiAbsoluteStr<S>>
[src]
fn from(s: &RiAbsoluteStr<S>) -> Self
[src]
impl<'_, S: Spec> From<&'_ RiAbsoluteStr<S>> for Box<RiAbsoluteStr<S>>
[src]
fn from(s: &RiAbsoluteStr<S>) -> Self
[src]
impl<'_, S: Spec> From<&'_ RiAbsoluteStr<S>> for Rc<RiAbsoluteStr<S>>
[src]
fn from(s: &RiAbsoluteStr<S>) -> Self
[src]
impl<'_, S: Spec> From<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<S>
[src]
fn from(s: &RiAbsoluteStr<S>) -> Self
[src]
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a str
[src]
fn from(s: &'a RiAbsoluteStr<S>) -> &'a str
[src]
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a RiStr<S>
[src]
fn from(s: &'a RiAbsoluteStr<S>) -> &'a RiStr<S>
[src]
impl<'a, S: Spec> From<&'a RiAbsoluteStr<S>> for &'a RiReferenceStr<S>
[src]
fn from(s: &'a RiAbsoluteStr<S>) -> &'a RiReferenceStr<S>
[src]
impl<S: Spec> Hash for RiAbsoluteStr<S>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<S: Spec> Ord for RiAbsoluteStr<S>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'_, S: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for str
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiAbsoluteStr<T>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiReferenceString<T>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for Cow<'_, str>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for Cow<'_, RiAbsoluteStr<T>>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<T>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiStr<T>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiString<T>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<&'_ RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
[src]
fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<T>> for RiAbsoluteStr<S>
[src]
fn eq(&self, o: &&RiReferenceStr<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiStr<T>> for RiAbsoluteStr<S>
[src]
impl<'_, S: Spec> PartialEq<&'_ str> for RiAbsoluteStr<S>
[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<T>>> for &'_ RiAbsoluteStr<S>
[src]
fn eq(&self, o: &Cow<RiAbsoluteStr<T>>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for RiAbsoluteStr<S>
[src]
fn eq(&self, o: &Cow<RiReferenceStr<T>>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for &'_ RiAbsoluteStr<S>
[src]
fn eq(&self, o: &Cow<RiReferenceStr<T>>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<Cow<'_, RiStr<T>>> for RiAbsoluteStr<S>
[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<Cow<'_, RiStr<T>>> for &'_ RiAbsoluteStr<S>
[src]
impl<'_, S: Spec> PartialEq<Cow<'_, str>> for RiAbsoluteStr<S>
[src]
impl<'_, '_, S: Spec> PartialEq<Cow<'_, str>> for &'_ RiAbsoluteStr<S>
[src]
impl<S: Spec> PartialEq<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
[src]
impl<S: Spec> PartialEq<RiAbsoluteStr<S>> for str
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for &'_ RiReferenceStr<T>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiReferenceString<T>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialEq<RiAbsoluteStr<S>> for &'_ str
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialEq<RiAbsoluteStr<S>> for Cow<'_, str>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiAbsoluteString<T>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiStr<T>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for &'_ RiStr<T>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiString<T>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteStr<S>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &RiAbsoluteStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiAbsoluteStr<T>> for &'_ RiAbsoluteStr<S>
[src]
fn eq(&self, o: &RiAbsoluteStr<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiAbsoluteString<T>> for RiAbsoluteStr<S>
[src]
fn eq(&self, o: &RiAbsoluteString<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiAbsoluteString<T>> for &'_ RiAbsoluteStr<S>
[src]
fn eq(&self, o: &RiAbsoluteString<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for RiAbsoluteStr<S>
[src]
fn eq(&self, o: &RiReferenceStr<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiReferenceStr<T>> for &'_ RiAbsoluteStr<S>
[src]
fn eq(&self, o: &RiReferenceStr<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for RiAbsoluteStr<S>
[src]
fn eq(&self, o: &RiReferenceString<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiReferenceString<T>> for &'_ RiAbsoluteStr<S>
[src]
fn eq(&self, o: &RiReferenceString<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiStr<T>> for RiAbsoluteStr<S>
[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiStr<T>> for &'_ RiAbsoluteStr<S>
[src]
impl<S: Spec, T: Spec> PartialEq<RiString<T>> for RiAbsoluteStr<S>
[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiString<T>> for &'_ RiAbsoluteStr<S>
[src]
impl<S: Spec> PartialEq<str> for RiAbsoluteStr<S>
[src]
impl<'_, S: Spec> PartialEq<str> for &'_ RiAbsoluteStr<S>
[src]
impl<'_, S: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for str
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiAbsoluteStr<T>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiReferenceString<T>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, str>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, RiAbsoluteStr<T>>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiAbsoluteString<T>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiStr<T>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiString<T>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialOrd<&'_ RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
[src]
fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiReferenceStr<T>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<&'_ RiStr<T>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &&RiStr<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialOrd<&'_ str> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &&str) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialOrd<Cow<'_, RiAbsoluteStr<T>>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &Cow<RiAbsoluteStr<T>>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<Cow<'_, RiReferenceStr<T>>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &Cow<RiReferenceStr<T>>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &Cow<RiReferenceStr<T>>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<T>>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &Cow<RiStr<T>>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialOrd<Cow<'_, RiStr<T>>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &Cow<RiStr<T>>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialOrd<Cow<'_, str>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &Cow<str>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec> PartialOrd<Cow<'_, str>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &Cow<str>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec> PartialOrd<RiAbsoluteStr<S>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec> PartialOrd<RiAbsoluteStr<S>> for str
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiReferenceString<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialOrd<RiAbsoluteStr<S>> for &'_ str
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, str>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiAbsoluteString<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiStr<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for &'_ RiStr<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiString<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiAbsoluteStr<T>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiAbsoluteStr<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiAbsoluteString<T>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiAbsoluteString<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiAbsoluteString<T>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiAbsoluteString<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiReferenceStr<T>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiReferenceString<T>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiStr<T>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiStr<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiStr<T>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiStr<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialOrd<RiString<T>> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiString<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialOrd<RiString<T>> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &RiString<T>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec> PartialOrd<str> for RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &str) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialOrd<str> for &'_ RiAbsoluteStr<S>
[src]
fn partial_cmp(&self, o: &str) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S> Serialize for RiAbsoluteStr<S>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<S: Spec> ToOwned for RiAbsoluteStr<S>
[src]
type Owned = RiAbsoluteString<S>
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]
impl<'a, S: Spec> TryFrom<&'a RiReferenceStr<S>> for &'a RiAbsoluteStr<S>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(s: &'a RiReferenceStr<S>) -> Result<Self, Self::Error>
[src]
impl<'a, S: Spec> TryFrom<&'a RiStr<S>> for &'a RiAbsoluteStr<S>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(s: &'a RiStr<S>) -> Result<Self, Self::Error>
[src]
impl<'a, S: Spec> TryFrom<&'a str> for &'a RiAbsoluteStr<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for RiAbsoluteStr<S>
impl<S> Send for RiAbsoluteStr<S>
impl<S> Sync for RiAbsoluteStr<S>
impl<S> Unpin for RiAbsoluteStr<S>
impl<S> UnwindSafe for RiAbsoluteStr<S>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,