pub trait MatrixCommon: Sized + Debug {
type V: Vector<T = Self::T, C = Self::C, Index: VectorIndex<C = Self::C>>;
type T: Scalar;
type C: Context;
type Inner;
// Required methods
fn nrows(&self) -> IndexType;
fn ncols(&self) -> IndexType;
fn inner(&self) -> &Self::Inner;
}Required Associated Types§
type V: Vector<T = Self::T, C = Self::C, Index: VectorIndex<C = Self::C>>
type T: Scalar
type C: Context
type Inner
Required Methods§
fn nrows(&self) -> IndexType
fn ncols(&self) -> IndexType
fn inner(&self) -> &Self::Inner
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.