Struct regex_syntax::ast::CaptureName [] [src]

pub struct CaptureName {
    pub span: Span,
    pub name: String,
    pub index: u32,
}

A capture name.

This corresponds to the name itself between the angle brackets in, e.g., (?P<foo>expr).

Fields

The span of this capture name.

The capture name.

The capture index.

Trait Implementations

impl Clone for CaptureName
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CaptureName
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for CaptureName
[src]

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

impl Sync for CaptureName