pub enum CaseMode {
Smart,
Sensitive,
Insensitive,
}Expand description
Whether a search distinguishes case.
Variants§
Smart
Case-insensitive until the query contains an uppercase letter — the “smart case” behaviour people expect without having to reach for a toggle.
Sensitive
Insensitive
Trait Implementations§
impl Copy for CaseMode
impl Eq for CaseMode
impl StructuralPartialEq for CaseMode
Auto Trait Implementations§
impl Freeze for CaseMode
impl RefUnwindSafe for CaseMode
impl Send for CaseMode
impl Sync for CaseMode
impl Unpin for CaseMode
impl UnsafeUnpin for CaseMode
impl UnwindSafe for CaseMode
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