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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClassBracketed
[src]

Formats the value using the given formatter. Read more

impl Eq for ClassBracketed
[src]

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

impl Sync for ClassBracketed