#[repr(u32)]pub enum IRRoundingMode {
Irrm_NEAREST = 0,
Irrm_NegINF = 1,
Irrm_PosINF = 2,
Irrm_ZERO = 3,
Irrm_NEAREST_TIE_AWAY_0 = 4,
Irrm_PREPARE_SHORTER = 5,
Irrm_AWAY_FROM_ZERO = 6,
Irrm_NEAREST_TIE_TOWARD_0 = 7,
}
Variants§
Irrm_NEAREST = 0
Irrm_NegINF = 1
Irrm_PosINF = 2
Irrm_ZERO = 3
Irrm_NEAREST_TIE_AWAY_0 = 4
Irrm_PREPARE_SHORTER = 5
Irrm_AWAY_FROM_ZERO = 6
Irrm_NEAREST_TIE_TOWARD_0 = 7
Trait Implementations§
Source§impl Clone for IRRoundingMode
impl Clone for IRRoundingMode
Source§fn clone(&self) -> IRRoundingMode
fn clone(&self) -> IRRoundingMode
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 IRRoundingMode
impl Debug for IRRoundingMode
Source§impl Hash for IRRoundingMode
impl Hash for IRRoundingMode
Source§impl PartialEq for IRRoundingMode
impl PartialEq for IRRoundingMode
impl Copy for IRRoundingMode
impl Eq for IRRoundingMode
impl StructuralPartialEq for IRRoundingMode
Auto Trait Implementations§
impl Freeze for IRRoundingMode
impl RefUnwindSafe for IRRoundingMode
impl Send for IRRoundingMode
impl Sync for IRRoundingMode
impl Unpin for IRRoundingMode
impl UnwindSafe for IRRoundingMode
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