Struct RepetitionOp

struct RepetitionOp { ... }

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.

Implementations

impl Clone for RepetitionOp

fn clone(self: &Self) -> RepetitionOp

impl Debug for RepetitionOp

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for RepetitionOp

impl Freeze for RepetitionOp

impl PartialEq for RepetitionOp

fn eq(self: &Self, other: &RepetitionOp) -> bool

impl RefUnwindSafe for RepetitionOp

impl Send for RepetitionOp

impl StructuralPartialEq for RepetitionOp

impl Sync for RepetitionOp

impl Unpin for RepetitionOp

impl UnsafeUnpin for RepetitionOp

impl UnwindSafe for RepetitionOp

impl<T> Any for RepetitionOp

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for RepetitionOp

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for RepetitionOp

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for RepetitionOp

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for RepetitionOp

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for RepetitionOp

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for RepetitionOp

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for RepetitionOp

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for RepetitionOp

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>