pub trait CubeAdd:
Add<Output = Self>
+ CubePrimitive
+ CubeType<ExpandType: AddExpand>
+ Sized {
// Provided method
fn __expand_add(
scope: &mut Scope,
lhs: ExpandElementTyped<Self>,
rhs: ExpandElementTyped<Self>,
) -> ExpandElementTyped<Self> { ... }
}Provided Methods§
fn __expand_add( 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.