Skip to main content

CubeRem

Trait CubeRem 

Source
pub trait CubeRem:
    Sized
    + Rem<Output = Self>
    + CubePrimitive
    + IntoRuntime
    + CubeType
where Self::ExpandType: RemExpand,
{ // Provided methods fn __expand_rem_method( self, scope: &Scope, rhs: NativeExpand<Self>, ) -> NativeExpand<Self> { ... } fn __expand_rem( scope: &Scope, lhs: NativeExpand<Self>, rhs: NativeExpand<Self>, ) -> NativeExpand<Self> { ... } }

Provided Methods§

Source

fn __expand_rem_method( self, scope: &Scope, rhs: NativeExpand<Self>, ) -> NativeExpand<Self>

Source

fn __expand_rem( scope: &Scope, lhs: NativeExpand<Self>, rhs: NativeExpand<Self>, ) -> NativeExpand<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> CubeRem for T
where T: Rem<Output = T> + CubePrimitive + IntoRuntime,