pub enum RoundingMode {
RoundToNearestEven,
RoundTowardsZero,
RoundDown,
RoundUp,
RoundToNearestMaxMagnitude,
Invalid,
}
Expand description
Rounding Mode
Variants
RoundToNearestEven
RoundTowardsZero
RoundDown
RoundUp
RoundToNearestMaxMagnitude
Invalid
Trait Implementations
sourceimpl Clone for RoundingMode
impl Clone for RoundingMode
sourcefn clone(&self) -> RoundingMode
fn clone(&self) -> RoundingMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RoundingMode
impl Debug for RoundingMode
sourceimpl PartialEq<RoundingMode> for RoundingMode
impl PartialEq<RoundingMode> for RoundingMode
impl Copy for RoundingMode
impl Eq for RoundingMode
impl StructuralEq for RoundingMode
impl StructuralPartialEq for RoundingMode
Auto Trait Implementations
impl RefUnwindSafe for RoundingMode
impl Send for RoundingMode
impl Sync for RoundingMode
impl Unpin for RoundingMode
impl UnwindSafe for RoundingMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more