Trait Descriptor

Source
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§

Source

const IS_ROW_MAJOR: bool

True for row-major ordering

Source

const IS_ORDINARY: bool

True for ordinary coordinates

Provided Methods§

Source

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.

Implementors§