pub enum Shorthand {
Digit,
NotDigit,
Word,
NotWord,
Space,
NotSpace,
}Expand description
\d, \w, \s and negations. Their meaning is per dialect and alphabet.
Variants§
Trait Implementations§
impl Copy for Shorthand
impl Eq for Shorthand
impl StructuralPartialEq for Shorthand
Auto Trait Implementations§
impl Forget for Shorthand
impl Freeze for Shorthand
impl RefUnwindSafe for Shorthand
impl Send for Shorthand
impl Sync for Shorthand
impl Unpin for Shorthand
impl UnsafeUnpin for Shorthand
impl UnwindSafe for Shorthand
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