Skip to main content

SliceOperatorExpand

Trait SliceOperatorExpand 

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

Required Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<E, N, IO> SliceOperatorExpand<Vector<E, N>> for VirtualTensorExpand<E, N, IO>
where E: Numeric, N: Size, IO: Clone,

Implementors§