Enum regex_syntax::ast::ClassAsciiKind [] [src]

pub enum ClassAsciiKind {
    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]

Methods

impl 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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClassAsciiKind
[src]

Formats the value using the given formatter. Read more

impl Eq for ClassAsciiKind
[src]

impl PartialEq for ClassAsciiKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for ClassAsciiKind

impl Sync for ClassAsciiKind