Enum dashu_float::round::Rounding
source · [−]pub enum Rounding {
NoOp,
AddOne,
SubOne,
}
Expand description
The adjustment of a rounding operation
See the mode
module for the corresponding error bounds.
Variants
NoOp
No adjustment
AddOne
Add one
SubOne
Subtract one
Trait Implementations
sourceimpl AddAssign<Rounding> for IBig
impl AddAssign<Rounding> for IBig
sourcefn add_assign(&mut self, rhs: Rounding)
fn add_assign(&mut self, rhs: Rounding)
Performs the +=
operation. Read more
sourceimpl PartialEq<Rounding> for Rounding
impl PartialEq<Rounding> for Rounding
impl Copy for Rounding
impl Eq for Rounding
impl StructuralEq for Rounding
impl StructuralPartialEq for Rounding
Auto Trait Implementations
impl RefUnwindSafe for Rounding
impl Send for Rounding
impl Sync for Rounding
impl Unpin for Rounding
impl UnwindSafe for Rounding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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