Struct regex_syntax::ast::RepetitionOp
source · [−]pub struct RepetitionOp {
pub span: Span,
pub kind: RepetitionKind,
}
Expand description
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RepetitionOp
impl Send for RepetitionOp
impl Sync for RepetitionOp
impl Unpin for RepetitionOp
impl UnwindSafe for RepetitionOp
Blanket Implementations
Mutably borrows from an owned value. Read more