Struct regex_syntax::ast::ClassAscii
[−]
[src]
pub struct ClassAscii {
pub span: Span,
pub kind: ClassAsciiKind,
pub negated: bool,
}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
impl Clone for ClassAscii[src]
fn clone(&self) -> ClassAscii[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for ClassAscii[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Eq for ClassAscii[src]
impl PartialEq for ClassAscii[src]
fn eq(&self, __arg_0: &ClassAscii) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ClassAscii) -> bool[src]
This method tests for !=.