pub trait NativeAssign: CubeType {
// Provided method
fn elem_init_mut(
scope: &mut Scope,
elem: ManagedVariable,
) -> ManagedVariable { ... }
}Expand description
Trait for native types that can be assigned. For non-native composites, use the normal Assign.
Provided Methods§
fn elem_init_mut(scope: &mut Scope, elem: ManagedVariable) -> ManagedVariable
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.