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<T: AsRef<str>> PartialOrd for UniCase<T>

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

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

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

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

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

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

fn cmp(&self, other: &Self) -> Ordering

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

fn as_ref(&self) -> &str

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

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

impl<S: AsRef<str>> PartialEq for UniCase<S>

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

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

impl<S: AsRef<str>> PartialEq<S> for UniCase<S>

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

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

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

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

type Err = S::Err

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

impl<S: AsRef<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)