Struct corsware::UniCase
[−]
[src]
pub struct UniCase<S>(pub S);
Case Insensitive wrapper of strings.
Trait Implementations
impl<T> PartialOrd<UniCase<T>> for UniCase<T> where
T: AsRef<str>,
[src]
T: AsRef<str>,
fn partial_cmp(&self, other: &UniCase<T>) -> Option<Ordering>
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>
Formats the value using the given formatter. Read more
impl<S> AsRef<str> for UniCase<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
impl<S> FromStr for UniCase<S> where
S: FromStr,
[src]
S: FromStr,
impl<S> Eq for UniCase<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
impl<S> Copy for UniCase<S> where
S: Copy,
[src]
S: Copy,
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<T> Ord for UniCase<T> where
T: AsRef<str>,
[src]
T: 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
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
This method tests for !=
.
impl<S> Debug for UniCase<S> where
S: Debug,
[src]
S: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<S> DerefMut for UniCase<S>
[src]
fn deref_mut(&'a mut self) -> &'a mut S
The method called to mutably dereference a value
impl<S> Hash for UniCase<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
fn hash<H>(&self, hasher: &mut H) where
H: Hasher,
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
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<S> Deref for UniCase<S>
[src]
type Target = S
The resulting type after dereferencing
fn deref(&'a self) -> &'a S
The method called to dereference a value
impl<S> Clone for UniCase<S> where
S: Clone,
[src]
S: Clone,
fn clone(&self) -> UniCase<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more