Enum decimal::Rounding
[−]
[src]
#[repr(C)]pub enum Rounding { Ceiling, Up, HalfUp, HalfEven, HalfDown, Down, Floor, ZeroOrFiveUp, }
Variants
Ceiling
Up
HalfUp
HalfEven
Round to nearest; if equidistant, round so that the final digit is even. This is the only rounding mode supported.
HalfDown
Down
Floor
ZeroOrFiveUp
Trait Implementations
impl Clone for Rounding
[src]
fn clone(&self) -> Rounding
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more