Enum decimal::Rounding [] [src]

#[repr(C)]
pub enum Rounding { Ceiling, Up, HalfUp, HalfEven, HalfDown, Down, Floor, ZeroOrFiveUp, }

Variants

Round to nearest; if equidistant, round so that the final digit is even. This is the only rounding mode supported.

Trait Implementations

impl Clone for Rounding
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Rounding
[src]

impl Debug for Rounding
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Rounding
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.