pub enum DtypeScalarKind {
Show 14 variants
I8,
I16,
I32,
I64,
U8,
U16,
U32,
U64,
F16,
F32,
F64,
ComplexF32,
ComplexF64,
Bool,
}Expand description
The kind of a scalar dtype.
Variants§
I8
i8 dtype.
I16
i16 dtype.
I32
i32 dtype.
I64
i64 dtype.
U8
u8 dtype.
U16
u16 dtype.
U32
u32 dtype.
U64
u64 dtype.
F16
[f16] dtype.
F32
f32 dtype.
F64
f64 dtype.
ComplexF32
Complex<f32> dtype.
ComplexF64
Complex<f64> dtype.
Bool
bool dtype.
Implementations§
Trait Implementations§
Source§impl Clone for DtypeScalarKind
impl Clone for DtypeScalarKind
Source§fn clone(&self) -> DtypeScalarKind
fn clone(&self) -> DtypeScalarKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DtypeScalarKind
Source§impl Debug for DtypeScalarKind
impl Debug for DtypeScalarKind
impl Eq for DtypeScalarKind
Source§impl Hash for DtypeScalarKind
impl Hash for DtypeScalarKind
Source§impl PartialEq for DtypeScalarKind
impl PartialEq for DtypeScalarKind
impl StructuralPartialEq for DtypeScalarKind
Auto Trait Implementations§
impl Freeze for DtypeScalarKind
impl RefUnwindSafe for DtypeScalarKind
impl Send for DtypeScalarKind
impl Sync for DtypeScalarKind
impl Unpin for DtypeScalarKind
impl UnsafeUnpin for DtypeScalarKind
impl UnwindSafe for DtypeScalarKind
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