pub struct UniCase<S>(/* private fields */);
Expand description
Case Insensitive wrapper of strings.
Implementations§
source§impl<S> UniCase<S>
impl<S> UniCase<S>
Trait Implementations§
source§impl<T: AsRef<str>> Ord for UniCase<T>
impl<T: AsRef<str>> Ord for UniCase<T>
source§impl<S1: AsRef<str>, S2: AsRef<str>> PartialEq<UniCase<S2>> for UniCase<S1>
impl<S1: AsRef<str>, S2: AsRef<str>> PartialEq<UniCase<S2>> for UniCase<S1>
source§impl<T: AsRef<str>> PartialOrd for UniCase<T>
impl<T: AsRef<str>> PartialOrd for UniCase<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 UniCase<S>
impl<S: AsRef<str>> Eq for UniCase<S>
Auto Trait Implementations§
impl<S> Freeze for UniCase<S>where
S: Freeze,
impl<S> RefUnwindSafe for UniCase<S>where
S: RefUnwindSafe,
impl<S> Send for UniCase<S>where
S: Send,
impl<S> Sync for UniCase<S>where
S: Sync,
impl<S> Unpin for UniCase<S>where
S: Unpin,
impl<S> UnwindSafe for UniCase<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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)