pub trait MatrixSliceDyn: ToViewMatrix {
    type Output<'a>: MatrixBase<Dim = DimDyn> + ViewMatrix
       where Self: 'a;

    // Required method
    fn slice_dyn(&self, index: Slice) -> Self::Output<'_>;
}

Required Associated Types§

source

type Output<'a>: MatrixBase<Dim = DimDyn> + ViewMatrix where Self: 'a

Required Methods§

source

fn slice_dyn(&self, index: Slice) -> Self::Output<'_>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, M, D> MatrixSliceDyn for Matrix<M, D>
where T: Num, M: Memory<Item = T> + ToViewMemory, D: DimTrait,

§

type Output<'a> = Matrix<ViewMem<'a, <Matrix<M, D> as MatrixBase>::Item>, DimDyn> where Self: 'a