Enum RepetitionKind

enum RepetitionKind

The kind of a repetition operator.

Variants

ZeroOrOne

?

ZeroOrMore

*

OneOrMore

+

Range(RepetitionRange)

{m,n}

Implementations

impl Clone for RepetitionKind

fn clone(self: &Self) -> RepetitionKind

impl Debug for RepetitionKind

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

impl Eq for RepetitionKind

impl Freeze for RepetitionKind

impl PartialEq for RepetitionKind

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

impl RefUnwindSafe for RepetitionKind

impl Send for RepetitionKind

impl StructuralPartialEq for RepetitionKind

impl Sync for RepetitionKind

impl Unpin for RepetitionKind

impl UnsafeUnpin for RepetitionKind

impl UnwindSafe for RepetitionKind

impl<T> Any for RepetitionKind

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for RepetitionKind

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

impl<T> BorrowMut for RepetitionKind

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

impl<T> CloneToUninit for RepetitionKind

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

impl<T> From for RepetitionKind

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for RepetitionKind

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

impl<T, U> Into for RepetitionKind

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 RepetitionKind

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

impl<T, U> TryInto for RepetitionKind

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