Struct regex_syntax::ast::Repetition [] [src]

pub struct Repetition {
    pub span: Span,
    pub op: RepetitionOp,
    pub greedy: bool,
    pub ast: Box<Ast>,
}

A repetition operation applied to a regular expression.

Fields

The span of this operation.

The actual operation.

Whether this operation was applied greedily or not.

The regular expression under repetition.

Trait Implementations

impl Clone for Repetition
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Repetition
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Repetition
[src]

impl PartialEq for Repetition
[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 Repetition

impl Sync for Repetition