Struct regex_syntax::hir::Group [] [src]

pub struct Group {
    pub kind: GroupKind,
    pub hir: Box<Hir>,
}

The high-level intermediate representation for a group.

This represents one of three possible group types:

  1. A non-capturing group (e.g., (?:expr)).
  2. A capturing group (e.g., (expr)).
  3. A named capturing group (e.g., (?P<name>expr)).

Fields

The kind of this group. If it is a capturing group, then the kind contains the capture group index (and the name, if it is a named group).

The expression inside the capturing group, which may be empty.

Trait Implementations

impl Clone for Group
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Group
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Group
[src]

impl PartialEq for Group
[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 Group

impl Sync for Group