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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GroupKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for GroupKind
[src]

impl PartialEq for GroupKind
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for GroupKind

impl Sync for GroupKind