pub enum CaseSensitivity {
Sensitive,
Insensitive,
Smart,
}Expand description
Whether matching is case-sensitive.
Variants§
Sensitive
Match exactly as written.
Insensitive
Match regardless of case.
Smart
Case-insensitive when the pattern is all lower-case, case-sensitive once it contains an upper-case character.
Trait Implementations§
Source§impl Clone for CaseSensitivity
impl Clone for CaseSensitivity
impl Copy for CaseSensitivity
Source§impl Debug for CaseSensitivity
impl Debug for CaseSensitivity
impl Eq for CaseSensitivity
Source§impl PartialEq for CaseSensitivity
impl PartialEq for CaseSensitivity
impl StructuralPartialEq for CaseSensitivity
Auto Trait Implementations§
impl Forget for CaseSensitivity
impl Freeze for CaseSensitivity
impl Move for CaseSensitivity
impl RefUnwindSafe for CaseSensitivity
impl Send for CaseSensitivity
impl Sync for CaseSensitivity
impl Unpin for CaseSensitivity
impl UnsafeUnpin for CaseSensitivity
impl UnwindSafe for CaseSensitivity
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.