Struct unicase::UniCase [−][src]
pub struct UniCase<S>(_);
Case Insensitive wrapper of strings.
Implementations
impl<S: AsRef<str>> UniCase<S>[src]
impl<S: AsRef<str>> UniCase<S>[src]impl<S> UniCase<S>[src]
impl<S> UniCase<S>[src]pub const fn unicode(s: S) -> UniCase<S>[src]
Creates a new UniCase, skipping the ASCII check.
pub const fn ascii(s: S) -> UniCase<S>[src]
Creates a new UniCase which performs only ASCII case folding.
pub fn is_ascii(&self) -> bool[src]
Return true if this instance will only perform ASCII case folding.
pub fn into_inner(self) -> S[src]
Unwraps the inner value held by this UniCase.
Trait Implementations
impl<S: Clone> Clone for UniCase<S>[src]
impl<S: Clone> Clone for UniCase<S>[src]fn clone(&self) -> UniCase<S>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T: AsRef<str>> PartialOrd<UniCase<T>> for UniCase<T>[src]
impl<T: AsRef<str>> PartialOrd<UniCase<T>> for UniCase<T>[src]impl<S: Copy> Copy for UniCase<S>[src]
impl<S: AsRef<str>> Eq for UniCase<S>[src]
Auto Trait Implementations
impl<S> Send for UniCase<S> where
S: Send,
S: Send,
impl<S> Sync for UniCase<S> where
S: Sync,
S: Sync,
impl<S> Unpin for UniCase<S> where
S: Unpin,
S: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
The resulting type after obtaining ownership.