Struct regex_syntax::ast::RepetitionOp
[−]
[src]
pub struct RepetitionOp { pub span: Span, pub kind: RepetitionKind, }
The repetition operator itself.
Fields
span: Span
The span of this operator. This includes things like +
, *?
and
{m,n}
.
kind: RepetitionKind
The type of operation.
Trait Implementations
impl Clone for RepetitionOp
[src]
fn clone(&self) -> RepetitionOp
[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 RepetitionOp
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for RepetitionOp
[src]
impl PartialEq for RepetitionOp
[src]
fn eq(&self, __arg_0: &RepetitionOp) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RepetitionOp) -> bool
[src]
This method tests for !=
.