[−][src]Struct iri_string::types::RiReferenceStr
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());
Methods
impl<S: Spec> RiReferenceStr<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.
impl<S: Spec> RiReferenceStr<S>
[src]
pub fn to_iri(&self) -> Result<&RiStr<S>, &RiRelativeStr<S>>
[src]
Returns the string as &RiStr
, if it is valid as an IRI.
If it is not an IRI, then &RiRelativeStr
is returned as Err(_)
.
pub fn to_relative_iri(&self) -> Result<&RiRelativeStr<S>, &RiStr<S>>
[src]
Returns the string as &RiRelativeStr
, if it is valid as an IRI.
If it is not an IRI, then &RiStr
is returned as Err(_)
.
pub fn resolve_against<'a>(
&'a self,
base: &RiAbsoluteStr<S>
) -> Cow<'a, RiStr<S>>
[src]
&'a self,
base: &RiAbsoluteStr<S>
) -> Cow<'a, RiStr<S>>
Returns resolved IRI against the given base IRI, using strict resolver.
About reference resolution output example, see RFC 3986 section 5.4.
About 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.
Usual users will want to use strict resolver.
Enabled by alloc
or std
feature.
pub fn fragment(&self) -> Option<&RiFragmentStr<S>>
[src]
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);
Trait Implementations
impl AsRef<RiReferenceStr<IriSpec>> for RiReferenceStr<UriSpec>
[src]
fn as_ref(&self) -> &RiReferenceStr<IriSpec>
[src]
impl AsRef<RiReferenceStr<IriSpec>> for RiReferenceString<UriSpec>
[src]
fn as_ref(&self) -> &RiReferenceStr<IriSpec>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiAbsoluteStr<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiAbsoluteString<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiStr<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiString<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiReferenceStr<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiReferenceString<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiRelativeStr<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<RiReferenceStr<S>> for RiRelativeString<S>
[src]
fn as_ref(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> AsRef<str> for RiReferenceStr<S>
[src]
impl<S: Spec> Borrow<RiReferenceStr<S>> for RiReferenceString<S>
[src]
fn borrow(&self) -> &RiReferenceStr<S>
[src]
impl<S: Spec> Debug for RiReferenceStr<S>
[src]
impl<'de: 'a, 'a, S: 'de + Spec> Deserialize<'de> for &'a RiReferenceStr<S>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<S: Spec> Display for RiReferenceStr<S>
[src]
impl<S: Spec> Eq for RiReferenceStr<S>
[src]
impl<'_, S: Spec> From<&'_ RiReferenceStr<S>> for Arc<RiReferenceStr<S>>
[src]
fn from(s: &RiReferenceStr<S>) -> Self
[src]
impl<'_, S: Spec> From<&'_ RiReferenceStr<S>> for Box<RiReferenceStr<S>>
[src]
fn from(s: &RiReferenceStr<S>) -> Self
[src]
impl<'_, S: Spec> From<&'_ RiReferenceStr<S>> for Rc<RiReferenceStr<S>>
[src]
fn from(s: &RiReferenceStr<S>) -> Self
[src]
impl<'_, S: Spec> From<&'_ RiReferenceStr<S>> for RiReferenceString<S>
[src]
fn from(s: &RiReferenceStr<S>) -> Self
[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<'a, S: Spec> From<&'a RiReferenceStr<S>> for &'a str
[src]
fn from(s: &'a RiReferenceStr<S>) -> &'a str
[src]
impl<'a, S: Spec> From<&'a RiRelativeStr<S>> for &'a RiReferenceStr<S>
[src]
fn from(s: &'a RiRelativeStr<S>) -> &'a RiReferenceStr<S>
[src]
impl<'a, S: Spec> From<&'a RiStr<S>> for &'a RiReferenceStr<S>
[src]
fn from(s: &'a RiStr<S>) -> &'a RiReferenceStr<S>
[src]
impl<S: Spec> Hash for RiReferenceStr<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 RiReferenceStr<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, 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> PartialEq<&'_ RiReferenceStr<S>> for str
[src]
fn eq(&self, o: &&RiReferenceStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &&RiReferenceStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec> PartialEq<&'_ RiReferenceStr<S>> for Cow<'_, str>
[src]
fn eq(&self, o: &&RiReferenceStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for Cow<'_, RiReferenceStr<T>>
[src]
fn eq(&self, o: &&RiReferenceStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiReferenceStr<S>> for RiReferenceString<T>
[src]
fn eq(&self, o: &&RiReferenceStr<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<&'_ RiReferenceStr<T>> for Cow<'_, 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 RiAbsoluteString<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 RiStr<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 Cow<'_, RiStr<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 RiString<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 RiRelativeStr<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 Cow<'_, RiRelativeStr<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 RiRelativeString<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<&'_ RiRelativeStr<S>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &&RiRelativeStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<&'_ RiStr<S>> for RiReferenceStr<T>
[src]
impl<'_, S: Spec> PartialEq<&'_ str> for RiReferenceStr<S>
[src]
impl<'_, S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &Cow<RiAbsoluteStr<S>>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for &'_ RiReferenceStr<T>
[src]
fn eq(&self, o: &Cow<RiAbsoluteStr<S>>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<Cow<'_, RiReferenceStr<T>>> for &'_ RiReferenceStr<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<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &Cow<RiRelativeStr<S>>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<Cow<'_, RiRelativeStr<S>>> for &'_ RiReferenceStr<T>
[src]
fn eq(&self, o: &Cow<RiRelativeStr<S>>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<Cow<'_, RiStr<S>>> for RiReferenceStr<T>
[src]
impl<'_, '_, S: Spec, T: Spec> PartialEq<Cow<'_, RiStr<S>>> for &'_ RiReferenceStr<T>
[src]
impl<'_, S: Spec> PartialEq<Cow<'_, str>> for RiReferenceStr<S>
[src]
impl<'_, '_, S: Spec> PartialEq<Cow<'_, str>> for &'_ RiReferenceStr<S>
[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 &'_ 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<RiAbsoluteString<S>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &RiAbsoluteString<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiAbsoluteString<S>> for &'_ RiReferenceStr<T>
[src]
fn eq(&self, o: &RiAbsoluteString<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec> PartialEq<RiReferenceStr<S>> for RiReferenceStr<S>
[src]
impl<S: Spec> PartialEq<RiReferenceStr<S>> for str
[src]
fn eq(&self, o: &RiReferenceStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialEq<RiReferenceStr<S>> for &'_ str
[src]
fn eq(&self, o: &RiReferenceStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec> PartialEq<RiReferenceStr<S>> for Cow<'_, str>
[src]
fn eq(&self, o: &RiReferenceStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiReferenceStr<S>> for RiReferenceString<T>
[src]
fn eq(&self, o: &RiReferenceStr<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<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 &'_ RiRelativeStr<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 Cow<'_, RiRelativeStr<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 RiRelativeString<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 Cow<'_, 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 RiAbsoluteString<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 RiStr<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 &'_ RiStr<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 Cow<'_, RiStr<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 RiString<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 &'_ RiReferenceStr<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 RiRelativeStr<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 RiReferenceStr<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 &'_ RiReferenceStr<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<RiRelativeStr<S>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &RiRelativeStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiRelativeStr<S>> for &'_ RiReferenceStr<T>
[src]
fn eq(&self, o: &RiRelativeStr<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiRelativeString<S>> for RiReferenceStr<T>
[src]
fn eq(&self, o: &RiRelativeString<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiRelativeString<S>> for &'_ RiReferenceStr<T>
[src]
fn eq(&self, o: &RiRelativeString<S>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<S: Spec, T: Spec> PartialEq<RiStr<S>> for RiReferenceStr<T>
[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiStr<S>> for &'_ RiReferenceStr<T>
[src]
impl<S: Spec, T: Spec> PartialEq<RiString<S>> for RiReferenceStr<T>
[src]
impl<'_, S: Spec, T: Spec> PartialEq<RiString<S>> for &'_ RiReferenceStr<T>
[src]
impl<S: Spec> PartialEq<str> for RiReferenceStr<S>
[src]
impl<'_, S: Spec> PartialEq<str> for &'_ RiReferenceStr<S>
[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> PartialOrd<&'_ RiReferenceStr<S>> for str
[src]
fn partial_cmp(&self, o: &&RiReferenceStr<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<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &&RiReferenceStr<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<&'_ RiReferenceStr<S>> for Cow<'_, str>
[src]
fn partial_cmp(&self, o: &&RiReferenceStr<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<S>> for Cow<'_, RiReferenceStr<T>>
[src]
fn partial_cmp(&self, o: &&RiReferenceStr<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<S>> for RiReferenceString<T>
[src]
fn partial_cmp(&self, o: &&RiReferenceStr<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<&'_ RiReferenceStr<T>> for Cow<'_, 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 RiAbsoluteString<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 RiStr<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 Cow<'_, RiStr<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 RiString<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 RiRelativeStr<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 Cow<'_, RiRelativeStr<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 RiRelativeString<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<&'_ RiRelativeStr<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &&RiRelativeStr<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<&'_ RiStr<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &&RiStr<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<&'_ str> for RiReferenceStr<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<S>>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &Cow<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<Cow<'_, RiAbsoluteStr<S>>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &Cow<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<Cow<'_, RiReferenceStr<T>>> for &'_ RiReferenceStr<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<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &Cow<RiRelativeStr<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<Cow<'_, RiRelativeStr<S>>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &Cow<RiRelativeStr<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<Cow<'_, RiStr<S>>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &Cow<RiStr<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<Cow<'_, RiStr<S>>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &Cow<RiStr<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<Cow<'_, str>> for RiReferenceStr<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 &'_ RiReferenceStr<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, 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 &'_ 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<RiAbsoluteString<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteString<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<RiAbsoluteString<S>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiAbsoluteString<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<RiReferenceStr<S>> for RiReferenceStr<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<RiReferenceStr<S>> for str
[src]
fn partial_cmp(&self, o: &RiReferenceStr<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<RiReferenceStr<S>> for &'_ str
[src]
fn partial_cmp(&self, o: &RiReferenceStr<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<RiReferenceStr<S>> for Cow<'_, str>
[src]
fn partial_cmp(&self, o: &RiReferenceStr<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<S>> for RiReferenceString<T>
[src]
fn partial_cmp(&self, o: &RiReferenceStr<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<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 &'_ RiRelativeStr<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 Cow<'_, RiRelativeStr<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 RiRelativeString<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 Cow<'_, 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 RiAbsoluteString<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 RiStr<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 &'_ RiStr<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 Cow<'_, RiStr<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 RiString<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 &'_ RiReferenceStr<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 RiRelativeStr<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 RiReferenceStr<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 &'_ RiReferenceStr<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<RiRelativeStr<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiRelativeStr<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<RiRelativeStr<S>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiRelativeStr<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<RiRelativeString<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiRelativeString<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<RiRelativeString<S>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiRelativeString<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<RiStr<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiStr<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<RiStr<S>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiStr<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<RiString<S>> for RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiString<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<RiString<S>> for &'_ RiReferenceStr<T>
[src]
fn partial_cmp(&self, o: &RiString<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<str> for RiReferenceStr<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 &'_ RiReferenceStr<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 RiReferenceStr<S>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<S: Spec> ToOwned for RiReferenceStr<S>
[src]
type Owned = RiReferenceString<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 RiReferenceStr<S>> for &'a RiStr<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 RiReferenceStr<S>> for &'a RiRelativeStr<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 str> for &'a RiReferenceStr<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for RiReferenceStr<S>
impl<S> Send for RiReferenceStr<S>
impl<S> Sync for RiReferenceStr<S>
impl<S> Unpin for RiReferenceStr<S>
impl<S> UnwindSafe for RiReferenceStr<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>,