Trait Sqrt

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

Provided Methods§

Source

fn sqrt(x: Self) -> Self

Source

fn __expand_sqrt( 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 Sqrt for f32

Source§

impl Sqrt for f64

Source§

impl Sqrt for bf16

Source§

impl Sqrt for f16

Implementors§

Source§

impl Sqrt for flex32

Source§

impl Sqrt for tf32

Source§

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

Source§

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