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
span: Span
The span of this operation.
op: RepetitionOp
The actual operation.
greedy: bool
Whether this operation was applied greedily or not.
ast: Box<Ast>
The regular expression under repetition.
Trait Implementations
impl Clone for Repetition
[src]
fn clone(&self) -> Repetition
[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 Repetition
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Repetition
[src]
impl PartialEq for Repetition
[src]
fn eq(&self, __arg_0: &Repetition) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Repetition) -> bool
[src]
This method tests for !=
.