ConstGenericArrayDeque

Type Alias ConstGenericArrayDeque 

Source
pub type ConstGenericArrayDeque<T, const N: usize> = GenericArrayDeque<T, ConstArrayLength<N>>;
Expand description

GenericArrayDeque with a const-generic usize length, using the ConstArrayLength type alias for N.

To construct from a literal array, use from_array.

Note that not all N values are valid due to limitations inherent to typenum and Rust. You may need to combine [Const] with other typenum operations to get the desired length.

Aliased Typeยง

pub struct ConstGenericArrayDeque<T, const N: usize> { /* private fields */ }