pub trait SliceTrait {
    type Dim: DimTrait;

    // Required methods
    fn sliced_shape_stride(
        &self,
        shape: Self::Dim,
        stride: Self::Dim
    ) -> ShapeStride<Self::Dim>;
    fn sliced_offset(&self, stride: Self::Dim) -> usize;
}

Required Associated Types§

Required Methods§

source

fn sliced_shape_stride( &self, shape: Self::Dim, stride: Self::Dim ) -> ShapeStride<Self::Dim>

source

fn sliced_offset(&self, stride: Self::Dim) -> usize

Implementors§