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]
impl Clone for Repetitionfn clone(&self) -> Repetition[src]
fn clone(&self) -> RepetitionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Repetition[src]
impl Debug for Repetitionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Repetition[src]
impl Eq for Repetitionimpl PartialEq for Repetition[src]
impl PartialEq for Repetitionfn eq(&self, other: &Repetition) -> bool[src]
fn eq(&self, other: &Repetition) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Repetition) -> bool[src]
fn ne(&self, other: &Repetition) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for Repetition
impl Send for Repetitionimpl Sync for Repetition
impl Sync for Repetition