Struct ChunkBy

struct ChunkBy<'a, T: 'a, P> { ... }

An iterator over slice in (non-overlapping) chunks separated by a predicate.

This struct is created by the chunk_by method on slices.

Implementations

impl<'a, T, P> Freeze for ChunkBy<'a, T, P>

impl<'a, T, P> RefUnwindSafe for ChunkBy<'a, T, P>

impl<'a, T, P> Send for ChunkBy<'a, T, P>

impl<'a, T, P> Sync for ChunkBy<'a, T, P>

impl<'a, T, P> Unpin for ChunkBy<'a, T, P>

impl<'a, T, P> UnsafeUnpin for ChunkBy<'a, T, P>

impl<'a, T, P> UnwindSafe for ChunkBy<'a, T, P>

impl<'a, T: 'a + fmt::Debug, P> Debug for ChunkBy<'a, T, P>

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

impl<'a, T: 'a, P> DoubleEndedIterator for ChunkBy<'a, T, P>

fn next_back(self: &mut Self) -> Option<<Self as >::Item>

impl<'a, T: 'a, P> FusedIterator for ChunkBy<'a, T, P>

impl<'a, T: 'a, P> Iterator for ChunkBy<'a, T, P>

fn next(self: &mut Self) -> Option<<Self as >::Item>
fn size_hint(self: &Self) -> (usize, Option<usize>)
fn last(self: Self) -> Option<<Self as >::Item>

impl<'a, T: 'a, P: Clone> Clone for ChunkBy<'a, T, P>

fn clone(self: &Self) -> Self

impl<I> IntoIterator for ChunkBy<'a, T, P>

fn into_iter(self: Self) -> I

impl<T> Any for ChunkBy<'a, T, P>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ChunkBy<'a, T, P>

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

impl<T> BorrowMut for ChunkBy<'a, T, P>

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

impl<T> CloneToUninit for ChunkBy<'a, T, P>

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

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

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for ChunkBy<'a, T, P>

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 ChunkBy<'a, T, P>

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

impl<T, U> TryInto for ChunkBy<'a, T, P>

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