Struct regex_syntax::ast::CaptureName [−][src]
Expand description
A capture name.
This corresponds to the name itself between the angle brackets in, e.g.,
(?P<foo>expr).
Fields
span: SpanThe span of this capture name.
name: StringThe capture name.
index: u32The capture index.
Trait Implementations
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 RefUnwindSafe for CaptureName
impl Send for CaptureName
impl Sync for CaptureName
impl Unpin for CaptureName
impl UnwindSafe for CaptureName
Blanket Implementations
Mutably borrows from an owned value. Read more