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\r\f].
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<PerlClassKind> for PerlClassKind
impl PartialEq<PerlClassKind> 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 ==.