[−][src]Struct unicase::Ascii
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: AsRef<str>> AsRef<str> for Ascii<S>
[src]
impl<S: Clone> Clone for Ascii<S>
[src]
fn clone(&self) -> Ascii<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Copy> Copy for Ascii<S>
[src]
impl<S: Debug> Debug for Ascii<S>
[src]
impl<S: Default> Default for Ascii<S>
[src]
impl<S> Deref for Ascii<S>
[src]
impl<S> DerefMut for Ascii<S>
[src]
impl<S: Display> Display for Ascii<S>
[src]
impl<S: AsRef<str>> Eq for Ascii<S>
[src]
impl<S> From<Ascii<S>> for UniCase<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.
fn from_str(s: &str) -> Result<Ascii<S>, <S as FromStr>::Err>
[src]
impl<S: AsRef<str>> Hash for Ascii<S>
[src]
fn hash<H: Hasher>(&self, hasher: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: AsRef<str>> Ord for Ascii<T>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<S1: AsRef<str>> PartialEq<Ascii<S1>> for String
[src]
impl<'a, S1: AsRef<str>> PartialEq<Ascii<S1>> for &'a str
[src]
impl<S1: AsRef<str>, S2: AsRef<str>> PartialEq<S2> for Ascii<S1>
[src]
impl<T: AsRef<str>> PartialOrd<Ascii<T>> for Ascii<T>
[src]
Auto Trait Implementations
impl<S> Send for Ascii<S> where
S: Send,
S: Send,
impl<S> Sync for Ascii<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Ascii<S> where
S: Unpin,
S: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,