Struct regex_syntax::ast::ClassBracketed [] [src]

pub struct ClassBracketed {
    pub span: Span,
    pub negated: bool,
    pub kind: ClassSet,
}

A bracketed character class, e.g., [a-z0-9].

Fields

The span of this class.

Whether this class is negated or not. e.g., [a] is not negated but [^a] is.

The type of this set. A set is either a normal union of things, e.g., [abc] or a result of applying set operations, e.g., [\pL--c].

Trait Implementations

impl Clone for ClassBracketed
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ClassBracketed
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for ClassBracketed
[src]

impl PartialEq for ClassBracketed
[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