Enum numpy::npyiter::NpyIterFlag
source · [−]pub enum NpyIterFlag {
CommonDtype,
RefsOk,
ZerosizeOk,
ReduceOk,
Ranged,
Buffered,
GrowInner,
DelayBufAlloc,
DontNegateStrides,
CopyIfOverlap,
}
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
Expand description
Flags for constructing an iterator.
The meanings of these flags are defined in the the NumPy documentation.
Note that some flags like MultiIndex
and ReadOnly
are directly represented
by the iterators types provided here.
Variants
CommonDtype
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
RefsOk
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
ZerosizeOk
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
ReduceOk
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
Ranged
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
Buffered
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
GrowInner
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
DelayBufAlloc
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
DontNegateStrides
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
CopyIfOverlap
The wrappers of the array iterator API are deprecated, please use ndarray’s iterators like Lanes
and Zip
instead.
Trait Implementations
sourceimpl Clone for NpyIterFlag
impl Clone for NpyIterFlag
sourcefn clone(&self) -> NpyIterFlag
fn clone(&self) -> NpyIterFlag
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 Debug for NpyIterFlag
impl Debug for NpyIterFlag
sourceimpl PartialEq<NpyIterFlag> for NpyIterFlag
impl PartialEq<NpyIterFlag> for NpyIterFlag
impl Copy for NpyIterFlag
impl Eq for NpyIterFlag
impl StructuralEq for NpyIterFlag
impl StructuralPartialEq for NpyIterFlag
Auto Trait Implementations
impl RefUnwindSafe for NpyIterFlag
impl Send for NpyIterFlag
impl Sync for NpyIterFlag
impl Unpin for NpyIterFlag
impl UnwindSafe for NpyIterFlag
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<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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more