Trait Round

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

Provided Methods§

Source

fn round(x: Self) -> Self

Source

fn __expand_round( 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 Round for f32

Source§

impl Round for f64

Source§

impl Round for bf16

Source§

impl Round for f16

Implementors§

Source§

impl Round for flex32

Source§

impl Round for tf32

Source§

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

Source§

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