Enum regex_syntax::ast::ClassAsciiKind [−][src]
pub enum ClassAsciiKind {}Show variants
Alnum, Alpha, Ascii, Blank, Cntrl, Digit, Graph, Lower, Print, Punct, Space, Upper, Word, Xdigit,
The available ASCII character classes.
Variants
[0-9A-Za-z]
[A-Za-z]
[\x00-\x7F]
[ \t]
[\x00-\x1F\x7F]
[0-9]
[!-~]
[a-z]
[ -~]
[!-/:-@\[-
{-~]`
[\t\n\v\f\r ]
[A-Z]
[0-9A-Za-z_]
[0-9A-Fa-f]
Implementations
impl ClassAsciiKind
[src]
impl ClassAsciiKind
[src]pub fn from_name(name: &str) -> Option<ClassAsciiKind>
[src]
Return the corresponding ClassAsciiKind variant for the given name.
The name given should correspond to the lowercase version of the
variant name. e.g., cntrl
is the name for ClassAsciiKind::Cntrl
.
If no variant with the corresponding name exists, then None
is
returned.
Trait Implementations
impl Clone for ClassAsciiKind
[src]
impl Clone for ClassAsciiKind
[src]fn clone(&self) -> ClassAsciiKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ClassAsciiKind> for ClassAsciiKind
[src]
impl PartialEq<ClassAsciiKind> for ClassAsciiKind
[src]