pub trait ViewOperationsMutExpand<T: CubePrimitive, C: Coordinates>: ViewOperationsExpand<T, C> {
// Required methods
fn __expand_write_method(
&self,
scope: &mut Scope,
pos: <C as CubeType>::ExpandType,
value: <T as CubeType>::ExpandType,
) -> <() as CubeType>::ExpandType;
fn __expand_write_checked_method(
&self,
scope: &mut Scope,
pos: <C as CubeType>::ExpandType,
value: <T as CubeType>::ExpandType,
) -> <() as CubeType>::ExpandType;
fn __expand_to_linear_slice_mut_method(
&self,
scope: &mut Scope,
pos: <C as CubeType>::ExpandType,
size: <C as CubeType>::ExpandType,
) -> <Slice<T, ReadWrite> as CubeType>::ExpandType;
fn __expand_tensor_map_store_method(
&self,
scope: &mut Scope,
shared_memory: <Slice<T> as CubeType>::ExpandType,
pos: <C 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.