Enum value_trait::ExtendedValueType
source · pub enum ExtendedValueType {
I32,
I16,
I8,
U32,
U16,
U8,
Usize,
F32,
Char,
None,
}
Expand description
Extended types that have no native representation in JSON
Variants§
I32
A 32 bit signed integer value
I16
A 16 bit signed integer value
I8
A 8 bit signed integer value
U32
A 32 bit unsigned integer value
U16
A 16 bit unsigned integer value
U8
A 8 bit unsigned integer value
Usize
A useize value
F32
A 32 bit floating point value
Char
A single utf-8 character
None
Not a value at all
Trait Implementations§
source§impl Clone for ExtendedValueType
impl Clone for ExtendedValueType
source§fn clone(&self) -> ExtendedValueType
fn clone(&self) -> ExtendedValueType
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 ExtendedValueType
impl Debug for ExtendedValueType
source§impl Default for ExtendedValueType
impl Default for ExtendedValueType
source§impl Display for ExtendedValueType
impl Display for ExtendedValueType
source§impl PartialEq for ExtendedValueType
impl PartialEq for ExtendedValueType
source§fn eq(&self, other: &ExtendedValueType) -> bool
fn eq(&self, other: &ExtendedValueType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ExtendedValueType
impl Eq for ExtendedValueType
impl StructuralEq for ExtendedValueType
impl StructuralPartialEq for ExtendedValueType
Auto Trait Implementations§
impl RefUnwindSafe for ExtendedValueType
impl Send for ExtendedValueType
impl Sync for ExtendedValueType
impl Unpin for ExtendedValueType
impl UnwindSafe for ExtendedValueType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more