Struct regex_syntax::ast::ClassBracketed [−][src]
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
impl Clone for ClassBracketed[src]
impl Clone for ClassBracketedfn clone(&self) -> ClassBracketed[src]
fn clone(&self) -> ClassBracketedReturns 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 ClassBracketed[src]
impl Debug for ClassBracketedfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for ClassBracketed[src]
impl Eq for ClassBracketedimpl PartialEq for ClassBracketed[src]
impl PartialEq for ClassBracketedfn eq(&self, other: &ClassBracketed) -> bool[src]
fn eq(&self, other: &ClassBracketed) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ClassBracketed) -> bool[src]
fn ne(&self, other: &ClassBracketed) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for ClassBracketed
impl Send for ClassBracketedimpl Sync for ClassBracketed
impl Sync for ClassBracketed