[][src]Struct unicase::Ascii

pub struct Ascii<S>(_);

Case Insensitive wrapper of Ascii strings.

Methods

impl<S> Ascii<S>[src]

pub const fn new(s: S) -> Ascii<S>[src]

pub fn into_unicase(self) -> UniCase<S>[src]

pub fn into_inner(self) -> S[src]

Trait Implementations

impl<S> From<Ascii<S>> for UniCase<S>[src]

impl<T: AsRef<str>> Ord for Ascii<T>[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl<T: AsRef<str>> PartialOrd<Ascii<T>> for Ascii<T>[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<S1: AsRef<str>> PartialEq<Ascii<S1>> for String[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<'a, S1: AsRef<str>> PartialEq<Ascii<S1>> for &'a str[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<S1: AsRef<str>, S2: AsRef<str>> PartialEq<S2> for Ascii<S1>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<S: Default> Default for Ascii<S>[src]

impl<S: Clone> Clone for Ascii<S>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<S: AsRef<str>> Eq for Ascii<S>[src]

impl<S: AsRef<str>> AsRef<str> for Ascii<S>[src]

impl<S: Copy> Copy for Ascii<S>[src]

impl<S> DerefMut for Ascii<S>[src]

impl<S> Deref for Ascii<S>[src]

type Target = S

The resulting type after dereferencing.

impl<S: Display> Display for Ascii<S>[src]

impl<S: Debug> Debug for Ascii<S>[src]

impl<S: FromStr> FromStr for Ascii<S>[src]

type Err = <S as FromStr>::Err

The associated error which can be returned from parsing.

impl<S: AsRef<str>> Hash for Ascii<S>[src]

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

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

Auto Trait Implementations

impl<S> Send for Ascii<S> where
    S: Send

impl<S> Unpin for Ascii<S> where
    S: Unpin

impl<S> Sync for Ascii<S> where
    S: Sync

impl<S> UnwindSafe for Ascii<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for Ascii<S> where
    S: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]