[][src]Enum fancy_regex_fork_pb::Captures

pub enum Captures<'t> {
    Wrap {
        text: &'t str,
        inner: Captures<'t>,
        offset: usize,
        enclosing_groups: usize,
    },
    Impl {
        text: &'t str,
        saves: Vec<usize>,
    },
}

Variants

Wrap

Fields of Wrap

text: &'t strinner: Captures<'t>offset: usizeenclosing_groups: usize
Impl

Fields of Impl

text: &'t strsaves: Vec<usize>

Methods

impl<'t> Captures<'t>[src]

pub fn get(&self, i: usize) -> Option<Match<'t>>[src]

Important traits for SubCaptureMatches<'c, 't>
pub fn iter<'c>(&'c self) -> SubCaptureMatches<'c, 't>[src]

pub fn len(&self) -> usize[src]

Trait Implementations

impl<'t> Debug for Captures<'t>[src]

Auto Trait Implementations

impl<'t> Sync for Captures<'t>

impl<'t> Send for Captures<'t>

impl<'t> Unpin for Captures<'t>

impl<'t> RefUnwindSafe for Captures<'t>

impl<'t> UnwindSafe for Captures<'t>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]