Trait Remainder

Source
pub trait Remainder: CubeType + Sized {
    // Provided methods
    fn rem(self, _rhs: Self) -> Self { ... }
    fn __expand_rem(
        scope: &mut Scope,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Self>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

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

Source

fn __expand_rem( 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 Remainder for f32

Source§

impl Remainder for f64

Source§

impl Remainder for i8

Source§

impl Remainder for i16

Source§

impl Remainder for i32

Source§

impl Remainder for i64

Source§

impl Remainder for u8

Source§

impl Remainder for u16

Source§

impl Remainder for u32

Source§

impl Remainder for u64

Source§

impl Remainder for bf16

Source§

impl Remainder for f16

Implementors§

Source§

impl Remainder for flex32

Source§

impl Remainder for tf32

Source§

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

Source§

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

Source§

impl<const POS: u8> Remainder for IntExpand<POS>