Skip to main content

SliceOperatorExpand

Trait SliceOperatorExpand 

Source
pub trait SliceOperatorExpand<E: CubePrimitive> {
    // Required methods
    fn __expand_slice_method<'infer, 'scope>(
        &'infer self,
        scope: &'scope Scope,
        start: <usize as CubeType>::ExpandType,
        end: <usize as CubeType>::ExpandType,
    ) -> &'infer <[E] as CubeType>::ExpandType ;
    fn __expand_slice_mut_method<'infer, 'scope>(
        &'infer mut self,
        scope: &'scope Scope,
        start: <usize as CubeType>::ExpandType,
        end: <usize as CubeType>::ExpandType,
    ) -> &'infer mut <[E] as CubeType>::ExpandType ;
}

Required Methods§

Source

fn __expand_slice_method<'infer, 'scope>( &'infer self, scope: &'scope Scope, start: <usize as CubeType>::ExpandType, end: <usize as CubeType>::ExpandType, ) -> &'infer <[E] as CubeType>::ExpandType

Source

fn __expand_slice_mut_method<'infer, 'scope>( &'infer mut self, scope: &'scope Scope, start: <usize as CubeType>::ExpandType, end: <usize as CubeType>::ExpandType, ) -> &'infer mut <[E] as CubeType>::ExpandType

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§