Struct GroupInfoAllNames

pub struct GroupInfoAllNames<'a> { /* private fields */ }

An iterator over capturing groups and their names for a GroupInfo.

This iterator is created by GroupInfo::all_names.

The lifetime parameter 'a refers to the lifetime of the GroupInfo from which this iterator was created.

Trait Implementations

impl<'a> Debug for GroupInfoAllNames<'a>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a> Iterator for GroupInfoAllNames<'a>

type Item = (PatternID, usize, Option<&'a str>);
fn next(&mut self) -> Option<(PatternID, usize, Option<&'a str>)>

Auto Trait Implementations

impl<'a> Freeze for GroupInfoAllNames<'a>

impl<'a> RefUnwindSafe for GroupInfoAllNames<'a>

impl<'a> Send for GroupInfoAllNames<'a>

impl<'a> Sync for GroupInfoAllNames<'a>

impl<'a> Unpin for GroupInfoAllNames<'a>

impl<'a> UnsafeUnpin for GroupInfoAllNames<'a>

impl<'a> UnwindSafe for GroupInfoAllNames<'a>

Blanket Implementations

impl<I> IntoIterator for GroupInfoAllNames<'a> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for GroupInfoAllNames<'a> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for GroupInfoAllNames<'a> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for GroupInfoAllNames<'a> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for GroupInfoAllNames<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for GroupInfoAllNames<'a> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for GroupInfoAllNames<'a> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for GroupInfoAllNames<'a> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>