Enum GroupKind

enum GroupKind

The kind of a group.

Variants

CaptureIndex(u32)

(a)

CaptureName { starts_with_p: bool, name: CaptureName }

(?<name>a) or (?P<name>a)

NonCapturing(Flags)

(?:a) and (?i:a)

Implementations

impl Clone for GroupKind

fn clone(self: &Self) -> GroupKind

impl Debug for GroupKind

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

impl Eq for GroupKind

impl Freeze for GroupKind

impl PartialEq for GroupKind

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

impl RefUnwindSafe for GroupKind

impl Send for GroupKind

impl StructuralPartialEq for GroupKind

impl Sync for GroupKind

impl Unpin for GroupKind

impl UnsafeUnpin for GroupKind

impl UnwindSafe for GroupKind

impl<T> Any for GroupKind

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for GroupKind

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

impl<T> BorrowMut for GroupKind

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

impl<T> CloneToUninit for GroupKind

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

impl<T> From for GroupKind

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for GroupKind

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

impl<T, U> Into for GroupKind

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 GroupKind

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

impl<T, U> TryInto for GroupKind

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