pub struct FastMathFlags {
pub nnan: bool,
pub ninf: bool,
pub nsz: bool,
pub arcp: bool,
pub contract: bool,
pub afn: bool,
pub reassoc: bool,
pub fast: bool,
}Expand description
Fast-math flags for floating-point instructions.
Fields§
§nnan: boolPublic API for nnan.
ninf: boolPublic API for ninf.
nsz: boolPublic API for nsz.
arcp: boolPublic API for arcp.
contract: boolPublic API for contract.
afn: boolPublic API for afn.
reassoc: boolPublic API for reassoc.
fast: boolShorthand for all flags set.
Trait Implementations§
Source§impl Clone for FastMathFlags
impl Clone for FastMathFlags
Source§fn clone(&self) -> FastMathFlags
fn clone(&self) -> FastMathFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FastMathFlags
impl Debug for FastMathFlags
Source§impl Default for FastMathFlags
impl Default for FastMathFlags
Source§fn default() -> FastMathFlags
fn default() -> FastMathFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for FastMathFlags
impl PartialEq for FastMathFlags
Source§fn eq(&self, other: &FastMathFlags) -> bool
fn eq(&self, other: &FastMathFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FastMathFlags
impl Eq for FastMathFlags
impl StructuralPartialEq for FastMathFlags
Auto Trait Implementations§
impl Freeze for FastMathFlags
impl RefUnwindSafe for FastMathFlags
impl Send for FastMathFlags
impl Sync for FastMathFlags
impl Unpin for FastMathFlags
impl UnsafeUnpin for FastMathFlags
impl UnwindSafe for FastMathFlags
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