pub trait CountElements: Clone {
    type Dtype: Clone + Default;

    const NUM_ELEMENTS: usize;
    const NUM_BYTES: usize = _;

    fn ref_first_elem(&self) -> &Self::Dtype;
    fn mut_first_elem(&mut self) -> &mut Self::Dtype;
}
Expand description

Represents something with a compile time known number of elements

Required Associated Types

Required Associated Constants

Provided Associated Constants

Required Methods

Implementations on Foreign Types

Implementors