Struct RChunksExactMut
struct RChunksExactMut<'data, T: Send> { ... }
Parallel iterator over mutable non-overlapping chunks of a slice, starting at the end.
Implementations
impl<'data, T: Send> RChunksExactMut<'data, T>
fn into_remainder(self: Self) -> &'data mut [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-1elements.Note that this has to consume
selfto return the original lifetime of the data, which prevents this from actually being used as a parallel iterator since that also consumes. This method is provided for parity withstd::iter::RChunksExactMut, but consider callingremainder()ortake_remainder()as alternatives.fn remainder(self: &mut Self) -> &mut [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-1elements.Consider
take_remainder()if you need access to the data with its original lifetime, rather than borrowing through&mut selfhere.fn take_remainder(self: &mut Self) -> &'data mut [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-1elements. Subsequent calls will return an empty slice.
impl<'data, T> Freeze for RChunksExactMut<'data, T>
impl<'data, T> RefUnwindSafe for RChunksExactMut<'data, T>
impl<'data, T> Send for RChunksExactMut<'data, T>
impl<'data, T> Sync for RChunksExactMut<'data, T>
impl<'data, T> Unpin for RChunksExactMut<'data, T>
impl<'data, T> UnsafeUnpin for RChunksExactMut<'data, T>
impl<'data, T> UnwindSafe for RChunksExactMut<'data, T>
impl<'data, T: $crate::fmt::Debug + Send> Debug for RChunksExactMut<'data, T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<'data, T: Send + 'data> IndexedParallelIterator for RChunksExactMut<'data, T>
fn drive<C>(self: Self, consumer: C) -> <C as >::Result where C: Consumer<<Self as >::Item>fn len(self: &Self) -> usizefn with_producer<CB>(self: Self, callback: CB) -> <CB as >::Output where CB: ProducerCallback<<Self as >::Item>
impl<'data, T: Send + 'data> ParallelIterator for RChunksExactMut<'data, T>
fn drive_unindexed<C>(self: Self, consumer: C) -> <C as >::Result where C: UnindexedConsumer<<Self as >::Item>fn opt_len(self: &Self) -> Option<usize>
impl<T> Any for RChunksExactMut<'data, T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for RChunksExactMut<'data, T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for RChunksExactMut<'data, T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for RChunksExactMut<'data, T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoParallelIterator for RChunksExactMut<'data, T>
fn into_par_iter(self: Self) -> T
impl<T> Pointable for RChunksExactMut<'data, T>
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T, U> Into for RChunksExactMut<'data, T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for RChunksExactMut<'data, T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for RChunksExactMut<'data, T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>