An abstract syntax tree for a single regular expression.
fmt::Display implementation uses constant stack space and heap
space proportional to the size of the
This type defines its own destructor that uses constant stack space and
heap space proportional to the size of the
An empty regex that matches everything.
A set of flags, e.g.,
A single character literal, which includes escape sequences.
The "any character" class.
A single zero-width assertion.
A single character class. This includes all forms of character classes
A repetition operator applied to an arbitrary regular expression.
A grouped regular expression.
An alternation of regular expressions.
A concatenation of regular expressions.
Return the span of this abstract syntax tree.
Return true if and only if this Ast is empty.
Print a display representation of this Ast.
This does not preserve any of the original whitespace formatting that may have originally been present in the concrete syntax from which this Ast was generated.
This implementation uses constant stack space and heap space proportional
to the size of the
Drop impl is used for
Ast such that it uses constant stack
space but heap space proportional to the depth of the
impl StructuralEq for Ast[src]
impl StructuralPartialEq for Ast[src]
Auto Trait Implementations
impl RefUnwindSafe for Ast
impl UnwindSafe for Ast
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.