Struct FindRevIter
struct FindRevIter<'h, 'n> { ... }
An iterator over non-overlapping substring matches in reverse.
Matches are reported by the byte offset at which they begin.
'h is the lifetime of the haystack while 'n is the lifetime of the
needle.
Implementations
impl<'h, 'n> FindRevIter<'h, 'n>
fn into_owned(self: Self) -> FindRevIter<'h, 'static>Convert this iterator into its owned variant, such that it no longer borrows the finder and needle.
If this is already an owned iterator, then this is a no-op. Otherwise, this copies the needle.
This is only available when the
stdfeature is enabled.
impl<'h, 'n> Clone for FindRevIter<'h, 'n>
fn clone(self: &Self) -> FindRevIter<'h, 'n>
impl<'h, 'n> Debug for FindRevIter<'h, 'n>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'h, 'n> Freeze for FindRevIter<'h, 'n>
impl<'h, 'n> Iterator for FindRevIter<'h, 'n>
fn next(self: &mut Self) -> Option<usize>
impl<'h, 'n> RefUnwindSafe for FindRevIter<'h, 'n>
impl<'h, 'n> Send for FindRevIter<'h, 'n>
impl<'h, 'n> Sync for FindRevIter<'h, 'n>
impl<'h, 'n> Unpin for FindRevIter<'h, 'n>
impl<'h, 'n> UnwindSafe for FindRevIter<'h, 'n>
impl<I> IntoIterator for FindRevIter<'h, 'n>
fn into_iter(self: Self) -> I
impl<T> Any for FindRevIter<'h, 'n>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for FindRevIter<'h, 'n>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for FindRevIter<'h, 'n>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for FindRevIter<'h, 'n>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for FindRevIter<'h, 'n>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for FindRevIter<'h, 'n>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for FindRevIter<'h, 'n>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for FindRevIter<'h, 'n>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for FindRevIter<'h, 'n>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>