ConstantSource

Trait ConstantSource 

Source
pub trait ConstantSource {
    const LEN: usize;
}
Expand description

A type that names a constant buffer size.

See the module level documentation.

Required Associated Constants§

Source

const LEN: usize

The chosen length separating indices and slices.

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§