Struct SplitNReverse

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

An iterator over at most n 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 SplitNReverse<'h, 's>

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

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

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

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

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

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

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

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

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

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

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

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

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

fn into_iter(self: Self) -> I

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

fn type_id(self: &Self) -> TypeId

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

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

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

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

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

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

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

fn from(t: T) -> T

Returns the argument unchanged.

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

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

impl<T, U> Into for SplitNReverse<'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 SplitNReverse<'h, 's>

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

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

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