pub struct Header {
pub shape: Vec<usize>,
pub data_type: DataType,
pub data_length: usize,
}Expand description
The header of a SANE array, consisting of the shape, the data type and the length of the data in number of bytes
Fields§
§shape: Vec<usize>§data_type: DataType§data_length: usizeAuto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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