Struct regex_syntax::ast::Concat
[−]
[src]
A concatenation of regular expressions.
Fields
span: Span
The span of this concatenation.
asts: Vec<Ast>
The concatenation regular expressions.
Methods
impl Concat
[src]
impl Concat
pub fn into_ast(self) -> Ast
[src]
pub fn into_ast(self) -> Ast
Return this concatenation as an AST.
If this concatenation contains zero ASTs, then Ast::Empty is returned. If this concatenation contains exactly 1 AST, then the corresponding AST is returned. Otherwise, Ast::Concat is returned.
Trait Implementations
impl Clone for Concat
[src]
impl Clone for Concat
fn clone(&self) -> Concat
[src]
fn clone(&self) -> Concat
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 Concat
[src]
impl Debug for Concat
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 Concat
[src]
impl Eq for Concat
impl PartialEq for Concat
[src]
impl PartialEq for Concat