pub enum FloatOrInteger {
Float(f64),
Integer(u64),
}Variants§
Trait Implementations§
Source§impl Clone for FloatOrInteger
impl Clone for FloatOrInteger
Source§fn clone(&self) -> FloatOrInteger
fn clone(&self) -> FloatOrInteger
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 FloatOrInteger
impl Debug for FloatOrInteger
Source§impl PartialEq for FloatOrInteger
impl PartialEq for FloatOrInteger
impl StructuralPartialEq for FloatOrInteger
Auto Trait Implementations§
impl Freeze for FloatOrInteger
impl RefUnwindSafe for FloatOrInteger
impl Send for FloatOrInteger
impl Sync for FloatOrInteger
impl Unpin for FloatOrInteger
impl UnwindSafe for FloatOrInteger
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