Trait faer_core::AsMatRef

source ·
pub trait AsMatRef<E: Entity> {
    // Required method
    fn as_mat_ref(&self) -> MatRef<'_, E>;
}
Expand description

Trait for types that can be converted to a matrix view.

Required Methods§

source

fn as_mat_ref(&self) -> MatRef<'_, E>

Implementors§

source§

impl<E: Entity> AsMatRef<E> for &Mat<E>

source§

impl<E: Entity> AsMatRef<E> for &MatMut<'_, E>

source§

impl<E: Entity> AsMatRef<E> for &MatRef<'_, E>

source§

impl<E: Entity> AsMatRef<E> for Mat<E>

source§

impl<E: Entity> AsMatRef<E> for MatMut<'_, E>

source§

impl<E: Entity> AsMatRef<E> for MatRef<'_, E>