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]
impl Clone for RepetitionOpfn clone(&self) -> RepetitionOp[src]
fn clone(&self) -> RepetitionOpReturns 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 RepetitionOp[src]
impl Debug for RepetitionOpfn 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 RepetitionOp[src]
impl Eq for RepetitionOpimpl PartialEq for RepetitionOp[src]
impl PartialEq for RepetitionOpfn eq(&self, other: &RepetitionOp) -> bool[src]
fn eq(&self, other: &RepetitionOp) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RepetitionOp) -> bool[src]
fn ne(&self, other: &RepetitionOp) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for RepetitionOp
impl Send for RepetitionOpimpl Sync for RepetitionOp
impl Sync for RepetitionOp