Struct regex_syntax::ast::Concat [] [src]

pub struct Concat {
    pub span: Span,
    pub asts: Vec<Ast>,
}

A concatenation of regular expressions.

Fields

The span of this concatenation.

The concatenation regular expressions.

Methods

impl Concat
[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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Concat
[src]

Formats the value using the given formatter. Read more

impl Eq for Concat
[src]

impl PartialEq for Concat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Concat

impl Sync for Concat