Struct numpy::npyiter::NpyMultiIterBuilder [−][src]
pub struct NpyMultiIterBuilder<'py, T, S: MultiIterMode> { /* fields omitted */ }
Expand description
Builder for NpyMultiIter.
Implementations
Set a flag to this builder, returning self
.
pub fn add_readonly<D: Dimension>(
self,
array: PyReadonlyArray<'py, T, D>
) -> NpyMultiIterBuilder<'py, T, RO<S>>
pub fn add_readonly<D: Dimension>(
self,
array: PyReadonlyArray<'py, T, D>
) -> NpyMultiIterBuilder<'py, T, RO<S>>
Add a readonly array to the resulting iterator.
pub fn add_readwrite<D: Dimension>(
self,
array: &'py PyArray<T, D>
) -> NpyMultiIterBuilder<'py, T, RW<S>>
pub fn add_readwrite<D: Dimension>(
self,
array: &'py PyArray<T, D>
) -> NpyMultiIterBuilder<'py, T, RW<S>>
Adds a writable array to the resulting iterator.
Creates an iterator from this builder.
Trait Implementations
Auto Trait Implementations
impl<'py, T, S> !RefUnwindSafe for NpyMultiIterBuilder<'py, T, S>
impl<'py, T, S> !Send for NpyMultiIterBuilder<'py, T, S>
impl<'py, T, S> !Sync for NpyMultiIterBuilder<'py, T, S>
impl<'py, T, S> Unpin for NpyMultiIterBuilder<'py, T, S> where
S: Unpin,
impl<'py, T, S> !UnwindSafe for NpyMultiIterBuilder<'py, T, S>