pub enum FloatFormat {
DecimalPlaces(usize),
RoundTrip,
}Expand description
Numeric text representation for CON frame fields.
Variants§
DecimalPlaces(usize)
A fixed number of digits after the decimal point.
RoundTrip
The shortest scientific representation preserving each finite f64. Signed zero is preserved; decimal precision does not limit this mode.
Trait Implementations§
Source§impl Clone for FloatFormat
impl Clone for FloatFormat
impl Copy for FloatFormat
Source§impl Debug for FloatFormat
impl Debug for FloatFormat
Source§impl Default for FloatFormat
impl Default for FloatFormat
impl Eq for FloatFormat
Source§impl PartialEq for FloatFormat
impl PartialEq for FloatFormat
impl StructuralPartialEq for FloatFormat
Auto Trait Implementations§
impl Freeze for FloatFormat
impl RefUnwindSafe for FloatFormat
impl Send for FloatFormat
impl Sync for FloatFormat
impl Unpin for FloatFormat
impl UnsafeUnpin for FloatFormat
impl UnwindSafe for FloatFormat
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