#[repr(u32)]pub enum DType {
Show 13 variants
F32 = 0,
C32 = 1,
F64 = 2,
C64 = 3,
B8 = 4,
S32 = 5,
U32 = 6,
U8 = 7,
S64 = 8,
U64 = 9,
S16 = 10,
U16 = 11,
F16 = 12,
}Expand description
Types of Array data type
Variants§
F32 = 0
32 bit float
C32 = 1
32 bit complex float
F64 = 2
64 bit float
C64 = 3
64 bit complex float
B8 = 4
8 bit boolean
S32 = 5
32 bit signed integer
U32 = 6
32 bit unsigned integer
U8 = 7
8 bit unsigned integer
S64 = 8
64 bit signed integer
U64 = 9
64 bit unsigned integer
S16 = 10
16 bit signed integer
U16 = 11
16 bit unsigned integer
F16 = 12
16 bit floating point
Trait Implementations§
impl Copy 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