Struct regex_syntax::ast::ClassAscii [] [src]

pub struct ClassAscii {
    pub span: Span,
    pub kind: ClassAsciiKind,
    pub negated: bool,
}

An ASCII character class.

Fields

The span of this class.

The kind of ASCII class.

Whether the class is negated or not. e.g., [[:alpha:]] is not negated but [[:^alpha:]] is.

Trait Implementations

impl Clone for ClassAscii
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ClassAscii
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for ClassAscii
[src]

impl PartialEq for ClassAscii
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for ClassAscii

impl Sync for ClassAscii