CopyMat

Trait CopyMat 

Source
pub trait CopyMat<T> {
    // Required methods
    fn copy_into(
        &self,
        dst: &Ref<Matrix<T, Dyn, Dyn, VecStorage<T, Dyn, Dyn>>>,
        offset: usize,
    ) -> usize;
    fn copy_into_v(
        &self,
        dst: &Ref<Matrix<T, Dyn, Const<1>, VecStorage<T, Dyn, Const<1>>>>,
        offset: usize,
    ) -> usize;
    fn copy_into_r(
        &self,
        dst: &Ref<Matrix<T, Const<1>, Dyn, VecStorage<T, Const<1>, Dyn>>>,
        offset: usize,
    ) -> usize;
    fn copy_into_row_major(
        &self,
        dst: &Ref<Matrix<T, Dyn, Dyn, VecStorage<T, Dyn, Dyn>>>,
        offset: usize,
    ) -> usize;
    fn addr(&self) -> usize;
    fn compile_const_mat(&self, ctx: &mut CompileCtx) -> Result<u32, MechError2>;
}

Required Methods§

Source

fn copy_into( &self, dst: &Ref<Matrix<T, Dyn, Dyn, VecStorage<T, Dyn, Dyn>>>, offset: usize, ) -> usize

Source

fn copy_into_v( &self, dst: &Ref<Matrix<T, Dyn, Const<1>, VecStorage<T, Dyn, Const<1>>>>, offset: usize, ) -> usize

Source

fn copy_into_r( &self, dst: &Ref<Matrix<T, Const<1>, Dyn, VecStorage<T, Const<1>, Dyn>>>, offset: usize, ) -> usize

Source

fn copy_into_row_major( &self, dst: &Ref<Matrix<T, Dyn, Dyn, VecStorage<T, Dyn, Dyn>>>, offset: usize, ) -> usize

Source

fn addr(&self) -> usize

Source

fn compile_const_mat(&self, ctx: &mut CompileCtx) -> Result<u32, MechError2>

Implementors§