pub enum NumericDType {
F64,
F32,
I64,
I32,
I16,
I8,
U64,
U32,
U16,
U8,
}
Expand description
Numeric data types for type-specific optimization
Variants§
F64
64-bit float
F32
32-bit float
I64
64-bit signed integer
I32
32-bit signed integer
I16
16-bit signed integer
I8
8-bit signed integer
U64
64-bit unsigned integer
U32
32-bit unsigned integer
U16
16-bit unsigned integer
U8
8-bit unsigned integer
Implementations§
Trait Implementations§
Source§impl Clone for NumericDType
impl Clone for NumericDType
Source§fn clone(&self) -> NumericDType
fn clone(&self) -> NumericDType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NumericDType
impl Debug for NumericDType
Source§impl<'de> Deserialize<'de> for NumericDType
impl<'de> Deserialize<'de> for NumericDType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for NumericDType
impl Hash for NumericDType
Source§impl PartialEq for NumericDType
impl PartialEq for NumericDType
Source§impl Serialize for NumericDType
impl Serialize for NumericDType
impl Copy for NumericDType
impl Eq for NumericDType
impl StructuralPartialEq for NumericDType
Auto Trait Implementations§
impl Freeze for NumericDType
impl RefUnwindSafe for NumericDType
impl Send for NumericDType
impl Sync for NumericDType
impl Unpin for NumericDType
impl UnwindSafe for NumericDType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.