Struct SplitReverse

struct SplitReverse<'h, 's> { ... }

An iterator over substrings in a byte string, split by a separator, in reverse.

'h is the lifetime of the byte string being split (the haystack), while 's is the lifetime of the byte string doing the splitting.

Implementations

impl<'h, 's> Clone for SplitReverse<'h, 's>

fn clone(self: &Self) -> SplitReverse<'h, 's>

impl<'h, 's> Debug for SplitReverse<'h, 's>

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

impl<'h, 's> Freeze for SplitReverse<'h, 's>

impl<'h, 's> Iterator for SplitReverse<'h, 's>

fn next(self: &mut Self) -> Option<&'h [u8]>

impl<'h, 's> RefUnwindSafe for SplitReverse<'h, 's>

impl<'h, 's> Send for SplitReverse<'h, 's>

impl<'h, 's> Sync for SplitReverse<'h, 's>

impl<'h, 's> Unpin for SplitReverse<'h, 's>

impl<'h, 's> UnsafeUnpin for SplitReverse<'h, 's>

impl<'h, 's> UnwindSafe for SplitReverse<'h, 's>

impl<I> IntoIterator for SplitReverse<'h, 's>

fn into_iter(self: Self) -> I

impl<T> Any for SplitReverse<'h, 's>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SplitReverse<'h, 's>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for SplitReverse<'h, 's>

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

impl<T> CloneToUninit for SplitReverse<'h, 's>

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

impl<T> From for SplitReverse<'h, 's>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SplitReverse<'h, 's>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for SplitReverse<'h, 's>

fn into(self: 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 for SplitReverse<'h, 's>

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

impl<T, U> TryInto for SplitReverse<'h, 's>

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