Struct RChunksExact

pub struct RChunksExact<'data, T> { /* private fields */ }

Parallel iterator over immutable non-overlapping chunks of a slice, starting at the end.

Implementations

impl<'data, T> RChunksExact<'data, T>

fn remainder(&self) -> &'data [T]

Return the remainder of the original slice that is not going to be returned by the iterator. The returned slice has at most chunk_size-1 elements.

Trait Implementations

impl<'data, T: Debug> Debug for RChunksExact<'data, T>

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

impl<'data, T: Sync> ParallelIterator for RChunksExact<'data, T>

type Item = &'data [T];
fn drive_unindexed<C>(self, consumer: C) -> C::Result
where
    C: UnindexedConsumer<Self::Item>,
fn opt_len(&self) -> Option<usize>

impl<T> Clone for RChunksExact<'_, T>

fn clone(&self) -> Self

impl<T: Sync> IndexedParallelIterator for RChunksExact<'_, T>

fn drive<C>(self, consumer: C) -> C::Result
where
    C: Consumer<Self::Item>,
fn len(&self) -> usize
fn with_producer<CB>(self, callback: CB) -> CB::Output
where
    CB: ProducerCallback<Self::Item>,

Auto Trait Implementations

impl<'data, T> Freeze for RChunksExact<'data, T> where &'data [T]: Freeze + Freeze,

impl<'data, T> RefUnwindSafe for RChunksExact<'data, T> where &'data [T]: RefUnwindSafe + RefUnwindSafe,

impl<'data, T> Send for RChunksExact<'data, T> where &'data [T]: Send + Send,

impl<'data, T> Sync for RChunksExact<'data, T> where &'data [T]: Sync + Sync,

impl<'data, T> Unpin for RChunksExact<'data, T> where &'data [T]: Unpin + Unpin,

impl<'data, T> UnsafeUnpin for RChunksExact<'data, T> where &'data [T]: UnsafeUnpin + UnsafeUnpin,

impl<'data, T> UnwindSafe for RChunksExact<'data, T> where &'data [T]: UnwindSafe + UnwindSafe,

Blanket Implementations

impl<T> Any for RChunksExact<'data, T> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for RChunksExact<'data, T> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for RChunksExact<'data, T> where T: ?Sized,

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

impl<T> CloneToUninit for RChunksExact<'data, T> where T: Clone,

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

impl<T> From<T> for RChunksExact<'data, T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for RChunksExact<'data, T>

impl<T> IntoParallelIterator for RChunksExact<'data, T> where T: ParallelIterator,

type Iter = T;
type Item = <T as ParallelIterator>::Item;
fn into_par_iter(self) -> T

impl<T> Pointable for RChunksExact<'data, T>

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> ToOwned for RChunksExact<'data, T> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for RChunksExact<'data, T> where U: From<T>,

fn into(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<U> for RChunksExact<'data, T> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for RChunksExact<'data, T> where U: TryFrom<T>,

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