Trait Magnitude

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

Provided Methods§

Source

fn magnitude(x: Self) -> Self

Source

fn __expand_magnitude( 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 Magnitude for f32

Source§

impl Magnitude for f64

Source§

impl Magnitude for bf16

Source§

impl Magnitude for f16

Implementors§