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
fn clone(&self) -> CaptureName
[src]
fn clone(&self) -> CaptureName
Returns 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 CaptureName
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for CaptureName
[src]
impl Eq for CaptureName
impl PartialEq for CaptureName
[src]
impl PartialEq for CaptureName
fn eq(&self, __arg_0: &CaptureName) -> bool
[src]
fn eq(&self, __arg_0: &CaptureName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CaptureName) -> bool
[src]
fn ne(&self, __arg_0: &CaptureName) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CaptureName
impl Send for CaptureName
impl Sync for CaptureName
impl Sync for CaptureName