Struct regex_syntax::ast::CaptureName  
source · pub struct CaptureName {
    pub span: Span,
    pub name: String,
    pub index: u32,
}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§
source§impl Clone for CaptureName
 
impl Clone for CaptureName
source§fn clone(&self) -> CaptureName
 
fn clone(&self) -> CaptureName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for CaptureName
 
impl Debug for CaptureName
source§impl PartialEq<CaptureName> for CaptureName
 
impl PartialEq<CaptureName> for CaptureName
source§fn eq(&self, other: &CaptureName) -> bool
 
fn eq(&self, other: &CaptureName) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.