Struct regex_syntax::ast::ClassBracketed
source · [−]Expand description
A bracketed character class, e.g., [a-z0-9]
.
Fields
span: Span
The span of this class.
negated: bool
Whether this class is negated or not. e.g., [a]
is not negated but
[^a]
is.
kind: ClassSet
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
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 RefUnwindSafe for ClassBracketed
impl Send for ClassBracketed
impl Sync for ClassBracketed
impl Unpin for ClassBracketed
impl UnwindSafe for ClassBracketed
Blanket Implementations
Mutably borrows from an owned value. Read more