Trait dfdx::arrays::CountElements
source · [−]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