pub enum NpyData {
Complex(Vec<C64>),
Real(Vec<f64>),
Int(Vec<i64>),
}Expand description
The content of an NPY file.
Variants§
Complex(Vec<C64>)
A complex array (<c8, <c16).
Real(Vec<f64>)
A real array (<f4, <f8).
Int(Vec<i64>)
An integer or boolean array.
Trait Implementations§
impl StructuralPartialEq for NpyData
Auto Trait Implementations§
impl Freeze for NpyData
impl RefUnwindSafe for NpyData
impl Send for NpyData
impl Sync for NpyData
impl Unpin for NpyData
impl UnsafeUnpin for NpyData
impl UnwindSafe for NpyData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more