Struct tartan_arch::aarch64::float::RoundingMode
source · pub struct RoundingMode(/* private fields */);
Available on AArch64 only.
Expand description
Floating-point rounding mode, as defined by IEEE 754.
Implementations§
source§impl RoundingMode
impl RoundingMode
sourcepub const PlusInfinity: Self = _
pub const PlusInfinity: Self = _
Round toward positive infinity.
sourcepub const MinusInfinity: Self = _
pub const MinusInfinity: Self = _
Round toward negative infinity.
Trait Implementations§
source§impl CEnum<u8> for RoundingMode
impl CEnum<u8> for RoundingMode
source§impl Clone for RoundingMode
impl Clone for RoundingMode
source§fn clone(&self) -> RoundingMode
fn clone(&self) -> RoundingMode
Returns a copy 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 RoundingMode
impl Debug for RoundingMode
source§impl Default for RoundingMode
impl Default for RoundingMode
source§fn default() -> RoundingMode
fn default() -> RoundingMode
Returns the “default value” for a type. Read more
source§impl From<RoundingMode> for u8
impl From<RoundingMode> for u8
source§fn from(enum_value: RoundingMode) -> Self
fn from(enum_value: RoundingMode) -> Self
Converts to this type from the input type.
source§impl From<u8> for RoundingMode
impl From<u8> for RoundingMode
source§impl Hash for RoundingMode
impl Hash for RoundingMode
source§impl Ord for RoundingMode
impl Ord for RoundingMode
source§fn cmp(&self, other: &RoundingMode) -> Ordering
fn cmp(&self, other: &RoundingMode) -> 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 RoundingMode
impl PartialEq for RoundingMode
source§impl PartialOrd for RoundingMode
impl PartialOrd for RoundingMode
impl Copy for RoundingMode
impl Eq for RoundingMode
impl StructuralPartialEq for RoundingMode
Auto Trait Implementations§
impl Freeze for RoundingMode
impl RefUnwindSafe for RoundingMode
impl Send for RoundingMode
impl Sync for RoundingMode
impl Unpin for RoundingMode
impl UnwindSafe for RoundingMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)