ListMutExpand

Trait ListMutExpand 

Source
pub trait ListMutExpand<T: CubePrimitive>: SliceMutOperatorExpand<T> {
    // Required method
    fn __expand_write_method(
        &self,
        scope: &mut Scope,
        index: <u32 as CubeType>::ExpandType,
        value: <T as CubeType>::ExpandType,
    ) -> <() as CubeType>::ExpandType;
}
Expand description

Type for which we can read and write values in cube functions. For an immutable version, see List.

Required Methods§

Source

fn __expand_write_method( &self, scope: &mut Scope, index: <u32 as CubeType>::ExpandType, value: <T as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType

Implementors§