pub enum NumValue {
Int(NumValueInt),
Float(NumValueFloat),
}Variants§
Int(NumValueInt)
Float(NumValueFloat)
Trait Implementations§
Source§impl From<f64> for NumValue
impl From<f64> for NumValue
Source§fn from(value: NumValueFloat) -> Self
fn from(value: NumValueFloat) -> Self
Converts to this type from the input type.
Source§impl From<i64> for NumValue
impl From<i64> for NumValue
Source§fn from(value: NumValueInt) -> Self
fn from(value: NumValueInt) -> Self
Converts to this type from the input type.
impl Copy for NumValue
impl StructuralPartialEq for NumValue
Auto Trait Implementations§
impl Freeze for NumValue
impl RefUnwindSafe for NumValue
impl Send for NumValue
impl Sync for NumValue
impl Unpin for NumValue
impl UnwindSafe for NumValue
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