pub enum NumVariant {
I8(i8),
I16(i16),
I32(i32),
I64(i64),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
F32(f32),
F64(f64),
}Variants§
Trait Implementations§
Source§impl Clone for NumVariant
impl Clone for NumVariant
Source§fn clone(&self) -> NumVariant
fn clone(&self) -> NumVariant
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 NumVariant
impl Debug for NumVariant
Source§impl From<NumVariant> for f32
impl From<NumVariant> for f32
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for f64
impl From<NumVariant> for f64
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for i16
impl From<NumVariant> for i16
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for i32
impl From<NumVariant> for i32
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for i64
impl From<NumVariant> for i64
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for i8
impl From<NumVariant> for i8
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for u16
impl From<NumVariant> for u16
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for u32
impl From<NumVariant> for u32
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for u64
impl From<NumVariant> for u64
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NumVariant> for u8
impl From<NumVariant> for u8
Source§fn from(var: NumVariant) -> Self
fn from(var: NumVariant) -> Self
Converts to this type from the input type.
Source§impl From<f32> for NumVariant
impl From<f32> for NumVariant
Source§impl From<f64> for NumVariant
impl From<f64> for NumVariant
Source§impl From<i16> for NumVariant
impl From<i16> for NumVariant
Source§impl From<i32> for NumVariant
impl From<i32> for NumVariant
Source§impl From<i64> for NumVariant
impl From<i64> for NumVariant
Source§impl From<i8> for NumVariant
impl From<i8> for NumVariant
Source§impl From<u16> for NumVariant
impl From<u16> for NumVariant
Source§impl From<u32> for NumVariant
impl From<u32> for NumVariant
Source§impl From<u64> for NumVariant
impl From<u64> for NumVariant
Source§impl From<u8> for NumVariant
impl From<u8> for NumVariant
impl Copy for NumVariant
Auto Trait Implementations§
impl Freeze for NumVariant
impl RefUnwindSafe for NumVariant
impl Send for NumVariant
impl Sync for NumVariant
impl Unpin for NumVariant
impl UnwindSafe for NumVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more