Struct RMatches

pub struct RMatches<'a, P: Pattern>(pub(in ::str) MatchesInternal<'a, P>);

Created with the method rmatches.

Fields

0: MatchesInternal<'a, P>

Trait Implementations

impl<'a, P> Clone for RMatches<'a, P> where P: Pattern<Searcher<'a>: Clone>,

fn clone(&self) -> Self

impl<'a, P> Debug for RMatches<'a, P> where P: Pattern<Searcher<'a>: Debug>,

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

impl<'a, P> DoubleEndedIterator for RMatches<'a, P> where P: Pattern<Searcher<'a>: DoubleEndedSearcher<'a>>,

fn next_back(&mut self) -> Option<&'a str>

impl<'a, P> FusedIterator for RMatches<'a, P> where P: Pattern<Searcher<'a>: ReverseSearcher<'a>>,

impl<'a, P> Iterator for RMatches<'a, P> where P: Pattern<Searcher<'a>: ReverseSearcher<'a>>,

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

Auto Trait Implementations

impl<'a, P> Freeze for RMatches<'a, P> where MatchesInternal<'a, P>: Freeze,

impl<'a, P> RefUnwindSafe for RMatches<'a, P> where MatchesInternal<'a, P>: RefUnwindSafe,

impl<'a, P> Send for RMatches<'a, P> where MatchesInternal<'a, P>: Send,

impl<'a, P> Sync for RMatches<'a, P> where MatchesInternal<'a, P>: Sync,

impl<'a, P> Unpin for RMatches<'a, P> where MatchesInternal<'a, P>: Unpin,

impl<'a, P> UnsafeUnpin for RMatches<'a, P> where MatchesInternal<'a, P>: UnsafeUnpin,

impl<'a, P> UnwindSafe for RMatches<'a, P> where MatchesInternal<'a, P>: UnwindSafe,

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> CloneToUninit for RMatches<'a, P> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for RMatches<'a, P>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for RMatches<'a, P> where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for RMatches<'a, P>

impl<T, U> Into<U> for RMatches<'a, P> 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 RMatches<'a, P> where U: Into<T>,

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

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

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