Struct regex_syntax::ast::Concat
[−]
[src]
pub struct Concat {
pub span: Span,
pub asts: Vec<Ast>,
}A concatenation of regular expressions.
Fields
span: Span
The span of this concatenation.
asts: Vec<Ast>
The concatenation regular expressions.
Methods
impl Concat[src]
pub fn into_ast(self) -> Ast[src]
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]
fn clone(&self) -> Concat[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 Concat[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more