SliceOperatorExpand

Trait SliceOperatorExpand 

Source
pub trait SliceOperatorExpand<E: CubePrimitive> {
    // Required methods
    fn __expand_slice_method(
        &self,
        scope: &mut Scope,
        start: <u32 as CubeType>::ExpandType,
        end: <u32 as CubeType>::ExpandType,
    ) -> <Slice<E, ReadOnly> as CubeType>::ExpandType ;
    fn __expand_to_slice_method(
        &self,
        scope: &mut Scope,
    ) -> <Slice<E, ReadOnly> as CubeType>::ExpandType ;
}

Required Methods§

Source

fn __expand_slice_method( &self, scope: &mut Scope, start: <u32 as CubeType>::ExpandType, end: <u32 as CubeType>::ExpandType, ) -> <Slice<E, ReadOnly> as CubeType>::ExpandType

Source

fn __expand_to_slice_method( &self, scope: &mut Scope, ) -> <Slice<E, ReadOnly> as CubeType>::ExpandType

Implementors§