Enum regex_syntax::hir::GroupKind
[−]
[src]
pub enum GroupKind { CaptureIndex(u32), CaptureName { name: String, index: u32, }, NonCapturing, }
The kind of group.
Variants
CaptureIndex(u32)
A normal unnamed capturing group.
The value is the capture index of the group.
CaptureName
A named capturing group.
Fields of CaptureName
name: String | The name of the group. |
index: u32 | The capture index of the group. |
NonCapturing
A non-capturing group.
Trait Implementations
impl Clone for GroupKind
[src]
fn clone(&self) -> GroupKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GroupKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more