Skip to main content

ViewMatrix

Trait ViewMatrix 

Source
pub trait ViewMatrix {
    // Required method
    fn view_matrix<const R: usize, const C: usize>(
        &self,
        element_offset: usize,
    ) -> MatrixView<'_, R, C>;
}

Required Methods§

Source

fn view_matrix<const R: usize, const C: usize>( &self, element_offset: usize, ) -> MatrixView<'_, R, C>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ViewMatrix for Vec<Real>

Source§

fn view_matrix<const R: usize, const C: usize>( &self, element_offset: usize, ) -> MatrixView<'_, R, C>

Source§

impl ViewMatrix for [Real]

Source§

fn view_matrix<const R: usize, const C: usize>( &self, element_offset: usize, ) -> MatrixView<'_, R, C>

Implementors§