pub enum PrimitiveShape {
String,
U64,
I64,
F32,
F64,
Bool,
Null,
}Expand description
Primitive types that can be found in a shape
Variants§
String
String type utf8 encoded
U64
unsigned 64 bit integer
I64
signed 64 bit integer
F32
floating point number
F64
double precision floating point number
Bool
boolean
Null
null
Trait Implementations§
Source§impl Clone for PrimitiveShape
impl Clone for PrimitiveShape
Source§fn clone(&self) -> PrimitiveShape
fn clone(&self) -> PrimitiveShape
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 PrimitiveShape
impl Debug for PrimitiveShape
Source§impl<'de> Deserialize<'de> for PrimitiveShape
impl<'de> Deserialize<'de> for PrimitiveShape
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 PartialEq for PrimitiveShape
impl PartialEq for PrimitiveShape
Source§impl Serialize for PrimitiveShape
impl Serialize for PrimitiveShape
impl StructuralPartialEq for PrimitiveShape
Auto Trait Implementations§
impl Freeze for PrimitiveShape
impl RefUnwindSafe for PrimitiveShape
impl Send for PrimitiveShape
impl Sync for PrimitiveShape
impl Unpin for PrimitiveShape
impl UnwindSafe for PrimitiveShape
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