DimName in nalgebra::base::dimension - Rust
Description: Trait implemented exclusively by type-level integers.
Keywords: rust, rustlang, rust-lang, DimName

# Trait nalgebra::base::dimension::DimName

source ·

    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§

source

#### const USIZE: usize

## Required Methods§

source

#### fn name() -> Self

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

source

#### fn dim() -> usize

The value of this dimension.

## Implementors§

source§

### impl<const T: usize> DimName for Const<T>

source§

#### const USIZE: usize = T