orx_v::matrices

Trait MatrixRowMajorMut

Source
pub trait MatrixRowMajorMut<T>: MatrixRowMajor<T> + MatrixMut<T> {
    // Required method
    fn row_mut(&mut self, i: usize) -> impl NVecMut<D1, T>;
}
Expand description

A mutable row major matrix.

Required Methods§

Source

fn row_mut(&mut self, i: usize) -> impl NVecMut<D1, T>

Returns a mutable reference to the i-th row of the matrix which is a D1 vector.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T, M: MatrixRowMajorMut<T>> MatrixRowMajorMut<T> for &mut M

Source§

fn row_mut(&mut self, j: usize) -> impl NVecMut<D1, T>

Implementors§

Source§

impl<T, V> MatrixRowMajorMut<T> for V1Matrix<T, V, V1LayoutRowMajor>
where V: NVecMut<D1, T>,

Source§

impl<T, V> MatrixRowMajorMut<T> for V2MatrixRowMajor<T, V>
where V: NVecMut<D2, T>,