Struct extendr_api::prelude::iter::ExactChunks
source · [−]pub struct ExactChunks<'a, A, D> { /* private fields */ }
Expand description
Exact chunks producer and iterable.
See .exact_chunks()
for more
information.
Trait Implementations
sourceimpl<'a, A, D> Clone for ExactChunks<'a, A, D> where
D: Clone,
impl<'a, A, D> Clone for ExactChunks<'a, A, D> where
D: Clone,
sourcefn clone(&self) -> ExactChunks<'a, A, D>
fn clone(&self) -> ExactChunks<'a, A, D>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a, A, D> IntoIterator for ExactChunks<'a, A, D> where
D: Dimension,
A: 'a,
impl<'a, A, D> IntoIterator for ExactChunks<'a, A, D> where
D: Dimension,
A: 'a,
type Item = <<ExactChunks<'a, A, D> as IntoIterator>::IntoIter as Iterator>::Item
type Item = <<ExactChunks<'a, A, D> as IntoIterator>::IntoIter as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = ExactChunksIter<'a, A, D>
type IntoIter = ExactChunksIter<'a, A, D>
Which kind of iterator are we turning this into?
sourcefn into_iter(self) -> <ExactChunks<'a, A, D> as IntoIterator>::IntoIter
fn into_iter(self) -> <ExactChunks<'a, A, D> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
sourceimpl<'a, A, D> NdProducer for ExactChunks<'a, A, D> where
D: Dimension,
impl<'a, A, D> NdProducer for ExactChunks<'a, A, D> where
D: Dimension,
Auto Trait Implementations
impl<'a, A, D> RefUnwindSafe for ExactChunks<'a, A, D> where
A: RefUnwindSafe,
D: RefUnwindSafe,
impl<'a, A, D> Send for ExactChunks<'a, A, D> where
A: Sync,
D: Send,
impl<'a, A, D> Sync for ExactChunks<'a, A, D> where
A: Sync,
D: Sync,
impl<'a, A, D> Unpin for ExactChunks<'a, A, D> where
D: Unpin,
impl<'a, A, D> UnwindSafe for ExactChunks<'a, A, D> where
A: RefUnwindSafe,
D: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<P> IntoNdProducer for P where
P: NdProducer,
impl<P> IntoNdProducer for P where
P: NdProducer,
type Item = <P as NdProducer>::Item
type Item = <P as NdProducer>::Item
The element produced per iteration.
type Dim = <P as NdProducer>::Dim
type Dim = <P as NdProducer>::Dim
Dimension type of the producer
type Output = P
sourcefn into_producer(self) -> <P as IntoNdProducer>::Output
fn into_producer(self) -> <P as IntoNdProducer>::Output
Convert the value into an NdProducer
.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more