#[repr(u8)]pub enum FastMathMap {
UnsafeAlgebra = 1,
NoNaNs = 2,
NoInfs = 4,
NoSignedZeros = 8,
AllowReciprocal = 16,
AllowContract = 32,
ApproxFunc = 64,
AllowReassoc = 128,
}Expand description
FastMath Flags This is a fixed layout derived from the bitcode emitted by LLVM 5.0 intended to decouple the in-memory representation from the serialization.
Variants§
UnsafeAlgebra = 1
NoNaNs = 2
NoInfs = 4
NoSignedZeros = 8
AllowReciprocal = 16
AllowContract = 32
ApproxFunc = 64
AllowReassoc = 128
Trait Implementations§
Source§impl Clone for FastMathMap
impl Clone for FastMathMap
Source§fn clone(&self) -> FastMathMap
fn clone(&self) -> FastMathMap
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 FastMathMap
impl Debug for FastMathMap
Source§impl TryFrom<u8> for FastMathMap
impl TryFrom<u8> for FastMathMap
Source§type Error = TryFromPrimitiveError<FastMathMap>
type Error = TryFromPrimitiveError<FastMathMap>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FastMathMap
impl TryFromPrimitive for FastMathMap
const NAME: &'static str = "FastMathMap"
type Primitive = u8
type Error = TryFromPrimitiveError<FastMathMap>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for FastMathMap
Auto Trait Implementations§
impl Freeze for FastMathMap
impl RefUnwindSafe for FastMathMap
impl Send for FastMathMap
impl Sync for FastMathMap
impl Unpin for FastMathMap
impl UnwindSafe for FastMathMap
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