#[repr(u8)]pub enum RunClass {
Digit = 0,
Hex = 1,
Word = 2,
}Expand description
The byte class a RunRule measures.
Variants§
Digit = 0
ASCII digits.
Hex = 1
ASCII hexadecimal digits.
Word = 2
ASCII letters, digits and _: the bytes of a \b-delimited word.
Implementations§
Trait Implementations§
impl Copy for RunClass
impl Eq for RunClass
impl StructuralPartialEq for RunClass
Auto Trait Implementations§
impl Freeze for RunClass
impl RefUnwindSafe for RunClass
impl Send for RunClass
impl Sync for RunClass
impl Unpin for RunClass
impl UnsafeUnpin for RunClass
impl UnwindSafe for RunClass
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