pub enum NumberType {
NumberI32(i32),
NumberU8(u8),
NumberU64(u64),
NumberUS(usize),
NumberU128(u128),
NumberF64(f64),
}Variants§
Trait Implementations§
source§impl Clone for NumberType
impl Clone for NumberType
source§fn clone(&self) -> NumberType
fn clone(&self) -> NumberType
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 NumberType
impl Debug for NumberType
source§impl From<&NumberType> for Value
impl From<&NumberType> for Value
source§fn from(value: &NumberType) -> Self
fn from(value: &NumberType) -> Self
Converts to this type from the input type.
source§impl TryInto<i32> for &NumberType
impl TryInto<i32> for &NumberType
source§impl TryInto<u128> for &NumberType
impl TryInto<u128> for &NumberType
source§impl TryInto<u64> for &NumberType
impl TryInto<u64> for &NumberType
source§impl TryInto<u8> for &NumberType
impl TryInto<u8> for &NumberType
Auto Trait Implementations§
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