pub struct InvariantF32(pub f32);Expand description
Display adapter printing a single-precision float the way the reference
runtime does under the invariant culture: the shortest round-trippable
digits, plain notation for decimal exponents in -4..=8, scientific
notation (1E+09, 1E-05) otherwise, and NaN / Infinity /
-Infinity for the non-finite values.
Tuple Fields§
§0: f32Trait Implementations§
Source§impl Clone for InvariantF32
impl Clone for InvariantF32
impl Copy for InvariantF32
Source§impl Debug for InvariantF32
impl Debug for InvariantF32
Auto Trait Implementations§
impl Freeze for InvariantF32
impl RefUnwindSafe for InvariantF32
impl Send for InvariantF32
impl Sync for InvariantF32
impl Unpin for InvariantF32
impl UnsafeUnpin for InvariantF32
impl UnwindSafe for InvariantF32
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more