pub trait ViewOperationsExpand<T: CubePrimitive, C: Coordinates>: LinedExpand {
    // Required methods
    fn __expand_read_method(
        &self,
        scope: &mut Scope,
        pos: <C as CubeType>::ExpandType,
    ) -> <T as CubeType>::ExpandType;
    fn __expand_read_checked_method(
        &self,
        scope: &mut Scope,
        pos: <C as CubeType>::ExpandType,
    ) -> <T as CubeType>::ExpandType;
    fn __expand_read_masked_method(
        &self,
        scope: &mut Scope,
        pos: <C as CubeType>::ExpandType,
        value: <T as CubeType>::ExpandType,
    ) -> <T as CubeType>::ExpandType;
    fn __expand_read_unchecked_method(
        &self,
        scope: &mut Scope,
        pos: <C as CubeType>::ExpandType,
    ) -> <T as CubeType>::ExpandType;
    fn __expand_to_linear_slice_method(
        &self,
        scope: &mut Scope,
        pos: <C as CubeType>::ExpandType,
        size: <C as CubeType>::ExpandType,
    ) -> <Slice<T, ReadOnly> as CubeType>::ExpandType;
    fn __expand_as_tensor_map_method(
        &self,
        scope: &mut Scope,
    ) -> <CubeOption<TensorMap<T>> as CubeType>::ExpandType;
    fn __expand_tensor_map_load_method(
        &self,
        scope: &mut Scope,
        barrier: <Barrier as CubeType>::ExpandType,
        shared_memory: <Slice<T, ReadWrite> as CubeType>::ExpandType,
        pos: <C as CubeType>::ExpandType,
    ) -> <() as CubeType>::ExpandType;
    fn __expand_shape_method(
        &self,
        scope: &mut Scope,
    ) -> <C as CubeType>::ExpandType;
    fn __expand_is_in_bounds_method(
        &self,
        scope: &mut Scope,
        pos: <C as CubeType>::ExpandType,
    ) -> <bool as CubeType>::ExpandType;
}Expand description
Type from which we can read values in cube functions. For a mutable version, see ListMut.