Struct regex::expand::CaptureRef[][src]

struct CaptureRef<'a> {
    cap: Ref<'a>,
    end: usize,
}

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

Trait Implementations

impl<'a> Clone for CaptureRef<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for CaptureRef<'a>
[src]

impl<'a> Debug for CaptureRef<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Eq for CaptureRef<'a>
[src]

impl<'a> PartialEq for CaptureRef<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<'a> Send for CaptureRef<'a>

impl<'a> Sync for CaptureRef<'a>