pub struct Ascii<S>(pub(crate) S);
Expand description
Case Insensitive wrapper of Ascii strings.
Tuple Fields§
§0: S
Implementations§
Trait Implementations§
source§impl<T: AsRef<str>> Ord for Ascii<T>
impl<T: AsRef<str>> Ord for Ascii<T>
source§impl<'a, S1: AsRef<str>> PartialEq<Ascii<S1>> for &'a str
impl<'a, S1: AsRef<str>> PartialEq<Ascii<S1>> for &'a str
source§impl<S1: AsRef<str>> PartialEq<Ascii<S1>> for String
impl<S1: AsRef<str>> PartialEq<Ascii<S1>> for String
source§impl<T: AsRef<str>> PartialOrd for Ascii<T>
impl<T: AsRef<str>> PartialOrd for Ascii<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<S: Copy> Copy for Ascii<S>
impl<S: AsRef<str>> Eq for Ascii<S>
Auto Trait Implementations§
impl<S> Freeze for Ascii<S>where
S: Freeze,
impl<S> RefUnwindSafe for Ascii<S>where
S: RefUnwindSafe,
impl<S> Send for Ascii<S>where
S: Send,
impl<S> Sync for Ascii<S>where
S: Sync,
impl<S> Unpin for Ascii<S>where
S: Unpin,
impl<S> UnwindSafe for Ascii<S>where
S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more