pub enum NumberType {
Show 14 variants
F32,
F64,
I128,
I16,
I32,
I64,
I8,
Isize,
U128,
U16,
U32,
U64,
U8,
Usize,
}Expand description
Auto-generated discriminant enum variants
Variants§
Trait Implementations§
Source§impl Clone for NumberType
impl Clone for NumberType
Source§fn clone(&self) -> NumberType
fn clone(&self) -> NumberType
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 NumberType
impl Debug for NumberType
Source§impl Display for NumberType
impl Display for NumberType
Source§impl<'_enum> From<&'_enum Number> for NumberType
impl<'_enum> From<&'_enum Number> for NumberType
Source§fn from(val: &'_enum Number) -> NumberType
fn from(val: &'_enum Number) -> NumberType
Converts to this type from the input type.
Source§impl From<Number> for NumberType
impl From<Number> for NumberType
Source§fn from(val: Number) -> NumberType
fn from(val: Number) -> NumberType
Converts to this type from the input type.
Source§impl From<NumberType> for ValueType
impl From<NumberType> for ValueType
Source§fn from(t: NumberType) -> Self
fn from(t: NumberType) -> Self
Converts number type (subclass of primitive type) to a value type
Source§impl FromStr for NumberType
impl FromStr for NumberType
Source§impl PartialEq for NumberType
impl PartialEq for NumberType
impl Copy for NumberType
impl Eq for NumberType
impl StructuralPartialEq for NumberType
Auto Trait Implementations§
impl Freeze for NumberType
impl RefUnwindSafe for NumberType
impl Send for NumberType
impl Sync for NumberType
impl Unpin for NumberType
impl UnwindSafe for NumberType
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