Enum dictgen::InsensitiveStr
source · [−]Expand description
UniCase look-alike that avoids const-fn so large tables don’t OOM
Variants
Unicode(&'s str)
Ascii(&'s str)
Implementations
sourceimpl<'s> InsensitiveStr<'s>
impl<'s> InsensitiveStr<'s>
Trait Implementations
sourceimpl<'s> Clone for InsensitiveStr<'s>
impl<'s> Clone for InsensitiveStr<'s>
sourcefn clone(&self) -> InsensitiveStr<'s>
fn clone(&self) -> InsensitiveStr<'s>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'s> Debug for InsensitiveStr<'s>
impl<'s> Debug for InsensitiveStr<'s>
sourceimpl<'s> Display for InsensitiveStr<'s>
impl<'s> Display for InsensitiveStr<'s>
sourceimpl<'s> From<UniCase<&'s str>> for InsensitiveStr<'s>
impl<'s> From<UniCase<&'s str>> for InsensitiveStr<'s>
sourceimpl<'s> Hash for InsensitiveStr<'s>
impl<'s> Hash for InsensitiveStr<'s>
sourceimpl<'s1, 's2> PartialEq<InsensitiveStr<'s2>> for InsensitiveStr<'s1>
impl<'s1, 's2> PartialEq<InsensitiveStr<'s2>> for InsensitiveStr<'s1>
sourcefn eq(&self, other: &InsensitiveStr<'s2>) -> bool
fn eq(&self, other: &InsensitiveStr<'s2>) -> bool
impl<'s> Copy for InsensitiveStr<'s>
impl<'s> Eq for InsensitiveStr<'s>
Auto Trait Implementations
impl<'s> RefUnwindSafe for InsensitiveStr<'s>
impl<'s> Send for InsensitiveStr<'s>
impl<'s> Sync for InsensitiveStr<'s>
impl<'s> Unpin for InsensitiveStr<'s>
impl<'s> UnwindSafe for InsensitiveStr<'s>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more