pub trait FastMathFlags: Op {
// Provided methods
fn fast_math_flags(&self, ctx: &Context) -> FastmathFlagsAttr
where Self: Sized { ... }
fn set_fast_math_flags(&self, ctx: &Context, flag: FastmathFlagsAttr)
where Self: Sized { ... }
}Expand description
Ops that have fast math flags.
Provided Methods§
Sourcefn fast_math_flags(&self, ctx: &Context) -> FastmathFlagsAttrwhere
Self: Sized,
fn fast_math_flags(&self, ctx: &Context) -> FastmathFlagsAttrwhere
Self: Sized,
Get the fast math flags on this Op.
Sourcefn set_fast_math_flags(&self, ctx: &Context, flag: FastmathFlagsAttr)where
Self: Sized,
fn set_fast_math_flags(&self, ctx: &Context, flag: FastmathFlagsAttr)where
Self: Sized,
Set the fast math flags for this Op.
Trait Implementations§
impl OpInterfaceMarker for dyn FastMathFlags
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".