logo
pub trait DimName: Dim {
    const USIZE: usize;

    fn name() -> Self;
    fn dim() -> usize;
}
Expand description

Trait implemented exclusively by type-level integers.

Required Associated Constants

Required Methods

The name of this dimension, i.e., the singleton Self.

The value of this dimension.

Implementors