pub struct NpyArray {
pub shape: Vec<usize>,
pub data: NpyData,
}Expand description
An n-dimensional array read from or written to .npy.
Fields§
§shape: Vec<usize>The shape; empty for a scalar (one element).
data: NpyDataImplementations§
Trait Implementations§
impl StructuralPartialEq for NpyArray
Auto Trait Implementations§
impl Freeze for NpyArray
impl RefUnwindSafe for NpyArray
impl Send for NpyArray
impl Sync for NpyArray
impl Unpin for NpyArray
impl UnsafeUnpin for NpyArray
impl UnwindSafe for NpyArray
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