Skip to main content

Width

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 = 1

Source§

impl Width for W2

Source§

const VALUE: usize = 2

Source§

impl Width for W4

Source§

const VALUE: usize = 4

Source§

impl Width for W8

Source§

const VALUE: usize = 8