Trait NStateKind

Source
pub trait NStateKind: StateKind {
    const RANK: usize;
}
Expand description

a particular kind of state that is defined by some rank

Required Associated Constants§

Source

const RANK: usize

the “rank” of the state speaks to the total number of dimensions (or states) allowed

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§

Source§

impl NStateKind for State1

Source§

const RANK: usize = 1usize

Source§

impl NStateKind for State2

Source§

const RANK: usize = 2usize

Source§

impl NStateKind for State3

Source§

const RANK: usize = 3usize

Source§

impl NStateKind for State4

Source§

const RANK: usize = 4usize

Source§

impl NStateKind for State5

Source§

const RANK: usize = 5usize

Source§

impl NStateKind for State6

Source§

const RANK: usize = 6usize

Source§

impl NStateKind for State7

Source§

const RANK: usize = 7usize

Source§

impl NStateKind for State8

Source§

const RANK: usize = 8usize

Source§

impl NStateKind for State9

Source§

const RANK: usize = 9usize

Source§

impl NStateKind for State10

Source§

const RANK: usize = 10usize

Source§

impl<const N: usize> NStateKind for Nary<N>

Source§

const RANK: usize = N