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 CaptureNamefn clone(&self) -> CaptureName[src]
fn clone(&self) -> CaptureNameReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for CaptureName[src]
impl Debug for CaptureNamefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for CaptureName[src]
impl Eq for CaptureNameimpl PartialEq for CaptureName[src]
impl PartialEq for CaptureNamefn eq(&self, other: &CaptureName) -> bool[src]
fn eq(&self, other: &CaptureName) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CaptureName) -> bool[src]
fn ne(&self, other: &CaptureName) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for CaptureName
impl Send for CaptureNameimpl Sync for CaptureName
impl Sync for CaptureName