Hypot

Trait Hypot 

Source
pub trait Hypot:
    CubePrimitive
    + CubeType<ExpandType: HypotExpand>
    + Sized {
    // Provided methods
    fn hypot(self, _rhs: Self) -> Self { ... }
    fn __expand_hypot(
        scope: &mut Scope,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Self>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn hypot(self, _rhs: Self) -> Self

Source

fn __expand_hypot( scope: &mut Scope, lhs: ExpandElementTyped<Self>, rhs: ExpandElementTyped<Self>, ) -> 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 Hypot for f32

Source§

impl Hypot for f64

Source§

impl Hypot for bf16

Source§

impl Hypot for f16

Implementors§

Source§

impl Hypot for flex32

Source§

impl Hypot for tf32

Source§

impl<const POS: u8> Hypot for ElemExpand<POS>