pub enum PrimitiveDataType {
Bool,
U8,
U16,
U32,
U64,
I8,
I16,
I32,
I64,
F16,
F32,
F64,
}Expand description
The primitive element type inside a PrimitiveValueList.
Variants§
Trait Implementations§
Source§impl Clone for PrimitiveDataType
impl Clone for PrimitiveDataType
Source§fn clone(&self) -> PrimitiveDataType
fn clone(&self) -> PrimitiveDataType
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 PrimitiveDataType
Source§impl Debug for PrimitiveDataType
impl Debug for PrimitiveDataType
Source§impl<'de> Deserialize<'de> for PrimitiveDataType
impl<'de> Deserialize<'de> for PrimitiveDataType
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 Display for PrimitiveDataType
impl Display for PrimitiveDataType
impl Eq for PrimitiveDataType
Source§impl Hash for PrimitiveDataType
impl Hash for PrimitiveDataType
Source§impl PartialEq for PrimitiveDataType
impl PartialEq for PrimitiveDataType
Source§fn eq(&self, other: &PrimitiveDataType) -> bool
fn eq(&self, other: &PrimitiveDataType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrimitiveDataType
impl Serialize for PrimitiveDataType
impl StructuralPartialEq for PrimitiveDataType
Auto Trait Implementations§
impl Freeze for PrimitiveDataType
impl RefUnwindSafe for PrimitiveDataType
impl Send for PrimitiveDataType
impl Sync for PrimitiveDataType
impl Unpin for PrimitiveDataType
impl UnsafeUnpin for PrimitiveDataType
impl UnwindSafe for PrimitiveDataType
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