Struct regex_syntax::ast::ClassBracketed
[−]
[src]
pub struct ClassBracketed {
pub span: Span,
pub negated: bool,
pub kind: ClassSet,
}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]
fn clone(&self) -> ClassBracketed[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 ClassBracketed[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Eq for ClassBracketed[src]
impl PartialEq for ClassBracketed[src]
fn eq(&self, __arg_0: &ClassBracketed) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ClassBracketed) -> bool[src]
This method tests for !=.