Trait Width

Source
pub trait Width {
    const VALUE: usize;
}
Expand description

Indicates the width of a vector.

Required Associated Constants§

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 Width for W1

Source§

const VALUE: usize = 1usize

Source§

impl Width for W2

Source§

const VALUE: usize = 2usize

Source§

impl Width for W4

Source§

const VALUE: usize = 4usize

Source§

impl Width for W8

Source§

const VALUE: usize = 8usize