Struct corsware::UniCase []

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>, 

impl<S> Debug for UniCase<S> where
    S: Debug

Formats the value using the given formatter.

impl<'a> Into<&'a str> for UniCase<&'a str>

impl<'a> Into<String> for UniCase<String>

impl<S> Hash for UniCase<S> where
    S: AsRef<str>, 

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<S> AsRef<str> for UniCase<S> where
    S: AsRef<str>, 

impl<S> DerefMut for UniCase<S>

The method called to mutably dereference a value

impl<S> Display for UniCase<S> where
    S: Display

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for UniCase<&'a str>

impl<'a> From<&'a str> for UniCase<String>

impl<'a> From<&'a String> for UniCase<&'a str>

impl<'a> From<String> for UniCase<String>

impl<S> Deref for UniCase<S>

The resulting type after dereferencing

The method called to dereference a value

impl<T> Ord for UniCase<T> where
    T: AsRef<str>, 

impl<S> FromStr for UniCase<S> where
    S: FromStr

impl<S> Copy for UniCase<S> where
    S: Copy

impl<S> Eq for UniCase<S> where
    S: AsRef<str>, 

impl<S1, S2> PartialEq<S2> for UniCase<S1> where
    S1: AsRef<str>,
    S2: AsRef<str>, 

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<S> Clone for UniCase<S> where
    S: Clone

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more