Struct corsware::UniCase
[−]
[src]
pub struct UniCase<S>(pub S);
Case Insensitive wrapper of strings.
Trait Implementations
impl<S> PhfHash for UniCase<S> where
UniCase<S>: Hash,
[src]
UniCase<S>: Hash,
impl<T> Ord for UniCase<T> where
T: AsRef<str>,
[src]
T: AsRef<str>,
impl<S> Copy for UniCase<S> where
S: Copy,
[src]
S: Copy,
impl<S> Hash for UniCase<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
fn hash<H>(&self, hasher: &mut H) where
H: Hasher,
[src]
H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<S> DerefMut for UniCase<S>
[src]
impl<S> Clone for UniCase<S> where
S: Clone,
[src]
S: Clone,
fn clone(&self) -> UniCase<S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S> Eq for UniCase<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
impl<S> Deref for UniCase<S>
[src]
type Target = S
The resulting type after dereferencing.
fn deref(&'a self) -> &'a S
[src]
Dereferences the value.
impl<'a> From<&'a String> for UniCase<&'a str>
[src]
impl<'a> From<&'a str> for UniCase<String>
[src]
impl<'a> From<&'a str> for UniCase<&'a str>
[src]
impl<'a> From<String> for UniCase<String>
[src]
impl<S> AsRef<str> for UniCase<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
impl<S1, S2> PartialEq<S2> for UniCase<S1> where
S1: AsRef<str>,
S2: AsRef<str>,
[src]
S1: AsRef<str>,
S2: AsRef<str>,
fn eq(&self, other: &S2) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<S> FromStr for UniCase<S> where
S: FromStr,
[src]
S: FromStr,
impl<S> Debug for UniCase<S> where
S: Debug,
[src]
S: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<'a> Into<String> for UniCase<String>
[src]
impl<'a> Into<&'a str> for UniCase<&'a str>
[src]
impl<S> Display for UniCase<S> where
S: Display,
[src]
S: Display,
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<T> PartialOrd<UniCase<T>> for UniCase<T> where
T: AsRef<str>,
[src]
T: AsRef<str>,