Trait lnkit::prelude::base::dimension::DimName[][src]

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

    pub fn name() -> Self;
pub fn dim() -> usize; }

Trait implemented exclusively by type-level integers.

Associated Constants

pub const USIZE: usize[src]

Loading content...

Required methods

pub fn name() -> Self[src]

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

pub fn dim() -> usize[src]

The value of this dimension.

Loading content...

Implementors

impl<const T: usize> DimName for Const<T>[src]

Loading content...