Trait Floor

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

Provided Methods§

Source

fn floor(x: Self) -> Self

Source

fn __expand_floor( 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 Floor for f32

Source§

impl Floor for f64

Source§

impl Floor for bf16

Source§

impl Floor for f16

Implementors§

Source§

impl Floor for flex32

Source§

impl Floor for tf32

Source§

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

Source§

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