Dimension

Trait Dimension 

Source
pub trait Dimension: Copy {
    // Required method
    fn value(self) -> usize;
}

Required Methods§

Source

fn value(self) -> usize

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.

Implementations on Foreign Types§

Source§

impl Dimension for usize

Source§

fn value(self) -> usize

Implementors§

Source§

impl<N: Unsigned + Copy> Dimension for U<N>