Struct regex_syntax::ast::CaptureName [−][src]
A capture name.
This corresponds to the name itself between the angle brackets in, e.g.,
(?P<foo>expr)
.
Fields
span: Span
The span of this capture name.
name: String
The capture name.
index: u32
The capture index.
Trait Implementations
impl Clone for CaptureName
[src]
impl Clone for CaptureName
[src]fn clone(&self) -> CaptureName
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<CaptureName> for CaptureName
[src]
impl PartialEq<CaptureName> for CaptureName
[src]