Enum boreal_parser::regex::PerlClassKind
source · pub enum PerlClassKind {
Word,
Space,
Digit,
}Expand description
Kind of PERL style class.
Variants§
Word
Word class, i.e. [a-zA-Z0-9_].
Space
Space class, i.e. [\t\n\v\f\r ].
Digit
Digit class, i.e. [0-9].
Trait Implementations§
source§impl Clone for PerlClassKind
impl Clone for PerlClassKind
source§fn clone(&self) -> PerlClassKind
fn clone(&self) -> PerlClassKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PerlClassKind
impl Debug for PerlClassKind
source§impl PartialEq for PerlClassKind
impl PartialEq for PerlClassKind
source§fn eq(&self, other: &PerlClassKind) -> bool
fn eq(&self, other: &PerlClassKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PerlClassKind
impl StructuralPartialEq for PerlClassKind
Auto Trait Implementations§
impl RefUnwindSafe for PerlClassKind
impl Send for PerlClassKind
impl Sync for PerlClassKind
impl Unpin for PerlClassKind
impl UnwindSafe for PerlClassKind
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