pub trait GenericMatrix: Sized {
    type Kind: MatrixKind;
    type Elem: Entity;

    // Required method
    fn as_ref(
        this: &Matrix<Self>
    ) -> <Self::Kind as MatrixKind>::Ref<'_, Self::Elem>;
}

Required Associated Types§

Required Methods§

source

fn as_ref( this: &Matrix<Self> ) -> <Self::Kind as MatrixKind>::Ref<'_, Self::Elem>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E: Entity> GenericMatrix for DenseMut<'_, E>

§

type Kind = Dense

§

type Elem = E

source§

impl<E: Entity> GenericMatrix for DenseOwn<E>

§

type Kind = Dense

§

type Elem = E

source§

impl<E: Entity> GenericMatrix for DenseRef<'_, E>

§

type Kind = Dense

§

type Elem = E

source§

impl<E: Entity> GenericMatrix for DiagMut<'_, E>

§

type Kind = Diag

§

type Elem = E

source§

impl<E: Entity> GenericMatrix for DiagOwn<E>

§

type Kind = Diag

§

type Elem = E

source§

impl<E: Entity> GenericMatrix for DiagRef<'_, E>

§

type Kind = Diag

§

type Elem = E

source§

impl<E: Entity> GenericMatrix for Scale<E>

§

type Kind = Scale

§

type Elem = E

source§

impl<I: Index, E: Entity> GenericMatrix for PermMut<'_, I, E>

§

type Kind = Perm<I>

§

type Elem = E

source§

impl<I: Index, E: Entity> GenericMatrix for PermOwn<I, E>

§

type Kind = Perm<I>

§

type Elem = E

source§

impl<I: Index, E: Entity> GenericMatrix for PermRef<'_, I, E>

§

type Kind = Perm<I>

§

type Elem = E