pub struct ObviousFloat(pub f64);
Expand description
A f64 wrapper that formats whole numbers with a decimal point.
Tuple Fields§
§0: f64
Trait Implementations§
Source§impl Display for ObviousFloat
impl Display for ObviousFloat
Auto Trait Implementations§
impl Freeze for ObviousFloat
impl RefUnwindSafe for ObviousFloat
impl Send for ObviousFloat
impl Sync for ObviousFloat
impl Unpin for ObviousFloat
impl UnwindSafe for ObviousFloat
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> ToLeanString for Twhere
T: Display,
impl<T> ToLeanString for Twhere
T: Display,
Source§fn try_to_lean_string(&self) -> Result<LeanString, ToLeanStringError>
fn try_to_lean_string(&self) -> Result<LeanString, ToLeanStringError>
Attempts to convert the value to a
LeanString
. Read moreSource§fn to_lean_string(&self) -> LeanString
fn to_lean_string(&self) -> LeanString
Converts the value to a
LeanString
. Read more