pub enum DType {
Plain {
ty: String,
shape: Vec<u64>,
},
Record(Vec<Field>),
}
Expand description
Representation of a Numpy type
Variants§
Plain
A simple array with only a single field
Fields
Record(Vec<Field>)
A structure record array
Implementations§
Trait Implementations§
impl Eq for DType
impl StructuralPartialEq for DType
Auto Trait Implementations§
impl Freeze for DType
impl RefUnwindSafe for DType
impl Send for DType
impl Sync for DType
impl Unpin for DType
impl UnwindSafe for DType
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