Enum regex_syntax::hir::GroupKind [] [src]

pub enum GroupKind {
    CaptureIndex(u32),
    CaptureName {
        name: String,
        index: u32,
    },
    NonCapturing,
}

The kind of group.

Variants

A normal unnamed capturing group.

The value is the capture index of the group.

A named capturing group.

Fields of CaptureName

The name of the group.

The capture index of the group.

A non-capturing group.

Trait Implementations

impl Clone for GroupKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GroupKind
[src]

Formats the value using the given formatter. Read more

impl Eq for GroupKind
[src]

impl PartialEq for GroupKind
[src]

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 Send for GroupKind

impl Sync for GroupKind