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]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Concat
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Concat
[src]

impl PartialEq for Concat
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Concat

impl Sync for Concat