Skip to main content

MatrixDimensions

Trait MatrixDimensions 

Source
pub trait MatrixDimensions {
    // Required methods
    fn height(&self) -> usize;
    fn width(&self) -> usize;
}

Required Methods§

Source

fn height(&self) -> usize

Source

fn width(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T, V: Borrow<[T]>> MatrixDimensions for DenseMatrix<T, V>

Source§

fn height(&self) -> usize

Source§

fn width(&self) -> usize

Implementors§