Trait Recip

Source
pub trait Recip: CubePrimitive + Sized {
    // Provided methods
    fn recip(x: Self) -> Self { ... }
    fn __expand_recip(
        scope: &mut Scope,
        x: Self::ExpandType,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn recip(x: Self) -> Self

Source

fn __expand_recip( scope: &mut Scope, x: Self::ExpandType, ) -> ExpandElementTyped<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Recip for f32

Source§

impl Recip for f64

Source§

impl Recip for bf16

Source§

impl Recip for f16

Implementors§

Source§

impl Recip for flex32

Source§

impl Recip for tf32

Source§

impl<P: CubePrimitive + Recip> Recip for Line<P>

Source§

impl<const POS: u8> Recip for FloatExpand<POS>