Struct SplitReverse
pub struct SplitReverse<'h, 's> { /* private fields */ }
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.
Trait Implementations
impl<'h, 's> Clone for SplitReverse<'h, 's>
fn clone(&self) -> SplitReverse<'h, 's>
impl<'h, 's> Debug for SplitReverse<'h, 's>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'h, 's> Iterator for SplitReverse<'h, 's>
type Item = &'h [u8];fn next(&mut self) -> Option<&'h [u8]>
Auto Trait Implementations
impl<'h, 's> Freeze for SplitReverse<'h, 's>
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>
Blanket Implementations
impl<I> IntoIterator for SplitReverse<'h, 's>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for SplitReverse<'h, 's>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SplitReverse<'h, 's>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SplitReverse<'h, 's>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for SplitReverse<'h, 's>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for SplitReverse<'h, 's>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for SplitReverse<'h, 's>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for SplitReverse<'h, 's>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SplitReverse<'h, 's>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for SplitReverse<'h, 's>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>