orx_v::matrices

Trait MatrixColMajorMut

Source
pub trait MatrixColMajorMut<T>: MatrixColMajor<T> + MatrixMut<T> {
    // Required method
    fn col_mut(&mut self, j: usize) -> impl NVecMut<D1, T>;
}
Expand description

A mutable column major matrix.

Required Methods§

Source

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

Returns a mutable reference to the j-th column 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: MatrixColMajorMut<T>> MatrixColMajorMut<T> for &mut M

Source§

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

Implementors§

Source§

impl<T, V> MatrixColMajorMut<T> for V1Matrix<T, V, V1LayoutColMajor>
where V: NVecMut<D1, T>,

Source§

impl<T, V> MatrixColMajorMut<T> for V2MatrixColMajor<T, V>
where V: NVecMut<D2, T>,