Enum frounding::RoundingMode
[−]
[src]
pub enum RoundingMode { Default, Upward, Downward, Nearest, ToZero, }
Rounding direction
Variants
Default
The default rounding when starting the program.
Upward
Round upward ( toward positive infinity +inf )
Downward
Round downward ( toward negative infinity -inf )
Nearest
Round to nearest
ToZero
Round tward zero ( truncate )
Trait Implementations
impl Debug for RoundingMode
[src]
impl Clone for RoundingMode
[src]
fn clone(&self) -> RoundingMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more