pub trait Layout1d {
const PIXEL_COUNT: usize;
// Provided method
fn points() -> impl Iterator<Item = f32> { ... }
}
Expand description
Required Associated Constants§
Sourceconst PIXEL_COUNT: usize
const PIXEL_COUNT: usize
The total number of LEDs in this layout.
Provided Methods§
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.