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]
impl Clone for ClassAscii
fn clone(&self) -> ClassAscii
[src]
fn clone(&self) -> ClassAscii
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ClassAscii
[src]
impl Debug for ClassAscii
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for ClassAscii
[src]
impl Eq for ClassAscii
impl PartialEq for ClassAscii
[src]
impl PartialEq for ClassAscii
fn eq(&self, __arg_0: &ClassAscii) -> bool
[src]
fn eq(&self, __arg_0: &ClassAscii) -> bool
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]
fn ne(&self, __arg_0: &ClassAscii) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ClassAscii
impl Send for ClassAscii
impl Sync for ClassAscii
impl Sync for ClassAscii