Enum lexical_write_float::RoundMode [−][src]
pub enum RoundMode {
Round,
Truncate,
}
Expand description
Enumeration for how to round floats with precision control.
Variants
Round to the nearest float string with the given number of significant digits.
Truncate the float string with the given number of significant digits.
Implementations
Zero out the lowest bit.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RoundMode
impl UnwindSafe for RoundMode
Blanket Implementations
Mutably borrows from an owned value. Read more