Struct regex_syntax::ast::ClassAscii
source · [−]pub struct ClassAscii {
pub span: Span,
pub kind: ClassAsciiKind,
pub negated: bool,
}
Expand description
An ASCII character class.
Fields
span: Span
The span of this class.
kind: ClassAsciiKind
The kind of ASCII class.
negated: bool
Whether the class is negated or not. e.g., [[:alpha:]]
is not negated
but [[:^alpha:]]
is.
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 ClassAscii
impl Send for ClassAscii
impl Sync for ClassAscii
impl Unpin for ClassAscii
impl UnwindSafe for ClassAscii
Blanket Implementations
Mutably borrows from an owned value. Read more