Skip to main content

ConstEmptyArrayStorage

Trait ConstEmptyArrayStorage 

Source
pub trait ConstEmptyArrayStorage: ArrayStorage {
    const EMPTY: Self;
}
Expand description

Const-construct an ArrayStorage.

Required Associated Constants§

Source

const EMPTY: Self

The empty value for this storage.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> ConstEmptyArrayStorage for Vec<T>

Source§

const EMPTY: Self

Source§

impl<const N: usize, T, LenT> ConstEmptyArrayStorage for Vec<T, N, LenT>
where LenT: LenType,

Source§

const EMPTY: Self

Implementors§