pub enum Rounding {
NoOp,
AddOne,
SubOne,
}Expand description
The adjustment of a rounding operation
This enum represents the adjustment applied to the truncated significand
(NoOp = 0, AddOne = +1, SubOne = -1), not the direction of the error
relative to the true value.
See the mode module for the corresponding error bounds.
Variants§
Trait Implementations§
impl Copy for Rounding
impl Eq for Rounding
impl StructuralPartialEq for Rounding
Auto Trait Implementations§
impl Freeze for Rounding
impl RefUnwindSafe for Rounding
impl Send for Rounding
impl Sync for Rounding
impl Unpin for Rounding
impl UnsafeUnpin for Rounding
impl UnwindSafe for Rounding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more