pub enum RoundingStrategy {
Down,
Up,
NearestDown,
NearestUp,
TowardsZero,
AwayFromZero,
Reject,
Pass,
}Variants§
Trait Implementations§
Source§impl Clone for RoundingStrategy
impl Clone for RoundingStrategy
Source§fn clone(&self) -> RoundingStrategy
fn clone(&self) -> RoundingStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoundingStrategy
impl Debug for RoundingStrategy
Source§impl Default for RoundingStrategy
impl Default for RoundingStrategy
Source§impl Hash for RoundingStrategy
impl Hash for RoundingStrategy
Source§impl Ord for RoundingStrategy
impl Ord for RoundingStrategy
Source§fn cmp(&self, other: &RoundingStrategy) -> Ordering
fn cmp(&self, other: &RoundingStrategy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RoundingStrategy
impl PartialEq for RoundingStrategy
Source§impl PartialOrd for RoundingStrategy
impl PartialOrd for RoundingStrategy
impl Copy for RoundingStrategy
impl Eq for RoundingStrategy
impl StructuralPartialEq for RoundingStrategy
Auto Trait Implementations§
impl Freeze for RoundingStrategy
impl RefUnwindSafe for RoundingStrategy
impl Send for RoundingStrategy
impl Sync for RoundingStrategy
impl Unpin for RoundingStrategy
impl UnwindSafe for RoundingStrategy
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