pub enum FloatValue {
F32(f32),
F64(f64),
}Expand description
Represents a floating-point number.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FloatValue
impl Clone for FloatValue
Source§fn clone(&self) -> FloatValue
fn clone(&self) -> FloatValue
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 FloatValue
impl Debug for FloatValue
Source§impl Default for FloatValue
impl Default for FloatValue
Source§impl Display for FloatValue
impl Display for FloatValue
Source§impl From<FloatValue> for Value
impl From<FloatValue> for Value
Source§fn from(value: FloatValue) -> Self
fn from(value: FloatValue) -> Self
Converts to this type from the input type.
Source§impl From<FloatValue> for f32
impl From<FloatValue> for f32
Source§fn from(value: FloatValue) -> Self
fn from(value: FloatValue) -> Self
Converts to this type from the input type.
Source§impl From<FloatValue> for f64
impl From<FloatValue> for f64
Source§fn from(value: FloatValue) -> Self
fn from(value: FloatValue) -> Self
Converts to this type from the input type.
Source§impl From<f32> for FloatValue
impl From<f32> for FloatValue
Source§impl From<f64> for FloatValue
impl From<f64> for FloatValue
Source§impl Hash for FloatValue
impl Hash for FloatValue
Source§impl Ord for FloatValue
impl Ord for FloatValue
Source§impl PartialEq for FloatValue
impl PartialEq for FloatValue
Source§impl PartialOrd for FloatValue
impl PartialOrd for FloatValue
impl Copy for FloatValue
impl Eq for FloatValue
Auto Trait Implementations§
impl Freeze for FloatValue
impl RefUnwindSafe for FloatValue
impl Send for FloatValue
impl Sync for FloatValue
impl Unpin for FloatValue
impl UnwindSafe for FloatValue
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