CubeDiv

Trait CubeDiv 

Source
pub trait CubeDiv:
    Div<Output = Self>
    + CubePrimitive
    + CubeType<ExpandType: DivExpand>
    + Sized {
    // Provided method
    fn __expand_mul(
        scope: &mut Scope,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Self>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn __expand_mul( 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.

Implementors§

Source§

impl<T: Div<Output = T> + CubePrimitive> CubeDiv for T