pub enum Rounding {
Round,
Floor,
Ceil,
Unexpected,
}
Expand description
Rounding kind.
This works right for non-negative numbers only by now, for perfomance considerations.
Variants§
Trait Implementations§
source§impl PartialEq for Rounding
impl PartialEq 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§
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