pub trait FrameBufferOperations<const ROWS: usize, const COLS: usize, const NROWS: usize, const BITS: u8, const FRAME_COUNT: usize>: FrameBuffer<ROWS, COLS, NROWS, BITS, FRAME_COUNT> {
// Required methods
fn erase(&mut self);
fn set_pixel(&mut self, p: Point, color: Color);
}
Expand description
Trait for all operations a user may want to call on a framebuffer.
§Type Parameters
ROWS
- Total number of rows in the displayCOLS
- Number of columns in the displayNROWS
- Number of rows processed in parallelBITS
- Number of bits per color channelFRAME_COUNT
- Number of frames needed for BCM