pub enum PrimitiveType {
Show 15 variants
Bool,
I8,
U8,
I16,
U16,
I32,
U32,
I64,
U64,
I128,
U128,
Usize,
Isize,
F32,
F64,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PrimitiveType
impl Clone for PrimitiveType
Source§fn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
Returns a copy 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 PrimitiveType
impl Debug for PrimitiveType
Source§impl<'de> Deserialize<'de> for PrimitiveType
impl<'de> Deserialize<'de> for PrimitiveType
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 PrimitiveType
impl Display for PrimitiveType
Source§impl From<PrimitiveType> for Type
impl From<PrimitiveType> for Type
Source§fn from(v: PrimitiveType) -> Self
fn from(v: PrimitiveType) -> Self
Converts to this type from the input type.
Source§impl From<PrimitiveType> for TypeDefine
impl From<PrimitiveType> for TypeDefine
Source§fn from(v: PrimitiveType) -> Self
fn from(v: PrimitiveType) -> Self
Converts to this type from the input type.
Source§impl PartialEq<PrimitiveType> for TypeDefine
impl PartialEq<PrimitiveType> for TypeDefine
Source§impl PartialEq for PrimitiveType
impl PartialEq for PrimitiveType
Source§impl Serialize for PrimitiveType
impl Serialize for PrimitiveType
Source§impl TryFrom<TypeDefine> for PrimitiveType
impl TryFrom<TypeDefine> for PrimitiveType
Source§type Error = TypeDefine
type Error = TypeDefine
The type returned in the event of a conversion error.
impl Copy for PrimitiveType
impl StructuralPartialEq for PrimitiveType
Auto Trait Implementations§
impl Freeze for PrimitiveType
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
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