pub trait Descriptor: Order + UnwindSafe {
const IS_ROW_MAJOR: bool;
const IS_ORDINARY: bool;
// Provided method
fn coords_str() -> &'static str { ... }
}Expand description
Descriptor of a matrix, which describe coordinate system used, its ordering ( row-major/column-major ) and other attributes.
Required Associated Constants§
Sourceconst IS_ROW_MAJOR: bool
const IS_ROW_MAJOR: bool
True for row-major ordering
Sourceconst IS_ORDINARY: bool
const IS_ORDINARY: bool
True for ordinary coordinates
Provided Methods§
Sourcefn coords_str() -> &'static str
fn coords_str() -> &'static str
Coordinate type of the matrix( homogenous or not)
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.