Enum regex_syntax::ast::Class
[−]
[src]
pub enum Class { Unicode(ClassUnicode), Perl(ClassPerl), Bracketed(ClassBracketed), }
A single character class expression.
Variants
Unicode(ClassUnicode)
A Unicode character class, e.g., \pL
or \p{Greek}
.
Perl(ClassPerl)
A perl character class, e.g., \d
or \W
.
Bracketed(ClassBracketed)
A bracketed character class set, which may contain zero or more
character ranges and/or zero or more nested classes. e.g.,
[a-zA-Z\pL]
.
Methods
impl Class
[src]
Trait Implementations
impl Clone for Class
[src]
fn clone(&self) -> Class
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Class
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more