pub trait CubeIndexMut: CubeIndex + CubeType<ExpandType: CubeIndexMutExpand<Output = <Self::Output as CubeType>::ExpandType>> {
// Provided methods
fn cube_idx_mut(&mut self, _i: u32) -> &mut Self::Output { ... }
fn expand_index_mut(
scope: &mut Scope,
array: Self::ExpandType,
index: ExpandElementTyped<u32>,
value: <Self::Output as CubeType>::ExpandType,
) { ... }
}
Provided Methods§
fn cube_idx_mut(&mut self, _i: u32) -> &mut Self::Output
fn expand_index_mut( scope: &mut Scope, array: Self::ExpandType, index: ExpandElementTyped<u32>, value: <Self::Output as CubeType>::ExpandType, )
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.