Struct regex::expand::CaptureRef [−][src]
CaptureRef represents a reference to a capture group inside some text.
The reference is either a capture group name or a number.
It is also tagged with the position in the text immediately proceding the capture reference.
Fields
cap: Ref<'a>
end: usize
Trait Implementations
impl<'a> Clone for CaptureRef<'a>[src]
impl<'a> Clone for CaptureRef<'a>fn clone(&self) -> CaptureRef<'a>[src]
fn clone(&self) -> CaptureRef<'a>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<'a> Copy for CaptureRef<'a>[src]
impl<'a> Copy for CaptureRef<'a>impl<'a> Debug for CaptureRef<'a>[src]
impl<'a> Debug for CaptureRef<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> Eq for CaptureRef<'a>[src]
impl<'a> Eq for CaptureRef<'a>fn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl<'a> PartialEq for CaptureRef<'a>[src]
impl<'a> PartialEq for CaptureRef<'a>fn eq(&self, other: &CaptureRef<'a>) -> bool[src]
fn eq(&self, other: &CaptureRef<'a>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CaptureRef<'a>) -> bool[src]
fn ne(&self, other: &CaptureRef<'a>) -> boolThis method tests for !=.
Auto Trait Implementations
impl<'a> Send for CaptureRef<'a>
impl<'a> Send for CaptureRef<'a>impl<'a> Sync for CaptureRef<'a>
impl<'a> Sync for CaptureRef<'a>