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 Eq for CaptureName
[src]
impl Eq for CaptureName
[src]impl PartialEq<CaptureName> for CaptureName
[src]
impl PartialEq<CaptureName> for CaptureName
[src]fn eq(&self, other: &CaptureName) -> bool
[src]
fn ne(&self, other: &CaptureName) -> bool
[src]
impl StructuralEq for CaptureName
[src]
impl StructuralEq for CaptureName
[src]impl StructuralPartialEq for CaptureName
[src]
impl StructuralPartialEq for CaptureName
[src]Auto Trait Implementations
impl RefUnwindSafe for CaptureName
impl RefUnwindSafe for CaptureName
impl Send for CaptureName
impl Send for CaptureName
impl Sync for CaptureName
impl Sync for CaptureName
impl Unpin for CaptureName
impl Unpin for CaptureName
impl UnwindSafe for CaptureName
impl UnwindSafe for CaptureName