#[repr(u8)]pub enum RoundingType {
    ToNearestWithTiesToEven = 0,
    TowardNegativeInfinity = 1,
    TowardInfinity = 2,
    TowardZero = 3,
}Variants§
Trait Implementations§
Source§impl Clone for RoundingType
 
impl Clone for RoundingType
Source§fn clone(&self) -> RoundingType
 
fn clone(&self) -> RoundingType
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 RoundingType
 
impl Debug for RoundingType
Source§impl Hash for RoundingType
 
impl Hash for RoundingType
Source§impl Ord for RoundingType
 
impl Ord for RoundingType
Source§fn cmp(&self, other: &RoundingType) -> Ordering
 
fn cmp(&self, other: &RoundingType) -> 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 RoundingType
 
impl PartialEq for RoundingType
Source§impl PartialOrd for RoundingType
 
impl PartialOrd for RoundingType
impl Copy for RoundingType
impl Eq for RoundingType
impl StructuralPartialEq for RoundingType
Auto Trait Implementations§
impl Freeze for RoundingType
impl RefUnwindSafe for RoundingType
impl Send for RoundingType
impl Sync for RoundingType
impl Unpin for RoundingType
impl UnwindSafe for RoundingType
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