Struct unicase::UniCase [-] [+] [src]

pub struct UniCase<S>(pub S);

Case Insensitive wrapper of strings.

Trait Implementations

impl<S> Deref for UniCase<S>

type Target = S

fn deref<'a>(&'a self) -> &'a S

impl<S> DerefMut for UniCase<S>

fn deref_mut<'a>(&'a mut self) -> &'a mut S

impl<S: Deref<Target=str>> Str for UniCase<S>

fn as_slice(&self) -> &str

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

fn fmt(&self, fmt: &mut Formatter) -> Result

impl<S: Deref<Target=str>> PartialEq for UniCase<S>

fn eq(&self, other: &UniCase<S>) -> bool

fn ne(&self, other: &Rhs) -> bool

impl<S: Deref<Target=str>> PartialEq<S> for UniCase<S>

fn eq(&self, other: &S) -> bool

fn ne(&self, other: &Rhs) -> bool

impl<S: Deref<Target=str>> Eq for UniCase<S>

fn assert_receiver_is_total_eq(&self)

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

type Err = <S as FromStr>::Err

fn from_str(s: &str) -> Result<UniCase<S>, <S as FromStr>::Err>

impl<S: Deref<Target=str>> Hash for UniCase<S>

fn hash<H: Hasher>(&self, hasher: &mut H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

Derived Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

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

fn clone(&self) -> UniCase<S>

fn clone_from(&mut self, source: &Self)