pub struct FastMathFlags {
pub allow_reassoc: bool,
pub no_NaNs: bool,
pub no_Infs: bool,
pub no_signed_zeros: bool,
pub allow_reciprocal: bool,
pub allow_contract: bool,
pub approx_func: bool,
}
Expand description
Fields§
§allow_reassoc: bool
§no_NaNs: bool
§no_Infs: bool
§no_signed_zeros: bool
§allow_reciprocal: bool
§allow_contract: bool
§approx_func: bool
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 · 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 Hash for FastMathFlags
impl Hash for FastMathFlags
Source§impl PartialEq for FastMathFlags
impl PartialEq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more