Enum rustix::process::prctl::FloatingPointMode
source · #[repr(u32)]pub enum FloatingPointMode {
FloatingPointRegisters = 1,
FloatingPointEmulation = 2,
}
Expand description
PR_FP_MODE_*
values for use with floating_point_mode
and
set_floating_point_mode
.
Variants§
FloatingPointRegisters = 1
64-bit floating point registers.
FloatingPointEmulation = 2
Enable emulation of 32-bit floating-point mode.
Trait Implementations§
source§impl Clone for FloatingPointMode
impl Clone for FloatingPointMode
source§fn clone(&self) -> FloatingPointMode
fn clone(&self) -> FloatingPointMode
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 FloatingPointMode
impl Debug for FloatingPointMode
source§impl PartialEq for FloatingPointMode
impl PartialEq for FloatingPointMode
source§fn eq(&self, other: &FloatingPointMode) -> bool
fn eq(&self, other: &FloatingPointMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for FloatingPointMode
impl TryFrom<u32> for FloatingPointMode
impl Copy for FloatingPointMode
impl Eq for FloatingPointMode
impl StructuralPartialEq for FloatingPointMode
Auto Trait Implementations§
impl Freeze for FloatingPointMode
impl RefUnwindSafe for FloatingPointMode
impl Send for FloatingPointMode
impl Sync for FloatingPointMode
impl Unpin for FloatingPointMode
impl UnwindSafe for FloatingPointMode
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