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<S1: AsRef<str>, S2: AsRef<str>> PartialEq<S2> for UniCase<S1>

fn eq(&self, other: &S2) -> 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

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

fn from(s: &'a str) -> Self

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

fn from(s: &'a str) -> Self

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

fn from(s: &'a String) -> Self

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

fn from(s: String) -> Self

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

fn into(self) -> &'a str

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

fn into(self) -> String

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)

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