pub enum CaseModel {
EsLegacy,
SimpleFold,
Python,
PythonAscii,
}Expand description
Which canonicalisation to use.
Variants§
EsLegacy
ECMAScript non-Unicode mode (toUpperCase).
SimpleFold
Simple case folding (ECMAScript u, Go, Rust, PCRE2).
Python
Python re.IGNORECASE on str patterns.
PythonAscii
Python with re.ASCII: only A-Z / a-z.
Trait Implementations§
impl Copy for CaseModel
impl Eq for CaseModel
impl StructuralPartialEq for CaseModel
Auto Trait Implementations§
impl Forget for CaseModel
impl Freeze for CaseModel
impl RefUnwindSafe for CaseModel
impl Send for CaseModel
impl Sync for CaseModel
impl Unpin for CaseModel
impl UnsafeUnpin for CaseModel
impl UnwindSafe for CaseModel
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