Trait MutableFrameBuffer

Source
pub trait MutableFrameBuffer<const ROWS: usize, const COLS: usize, const NROWS: usize, const BITS: u8, const FRAME_COUNT: usize>: FrameBuffer<ROWS, COLS, NROWS, BITS, FRAME_COUNT> + DrawTarget<Color = Color, Error = Infallible> { }
Expand description

Trait for mutable framebuffers

This trait extends FrameBuffer with the ability to draw to the framebuffer using the embedded_graphics drawing primitives.

§Type Parameters

  • ROWS - Total number of rows in the display
  • COLS - Number of columns in the display
  • NROWS - Number of rows processed in parallel
  • BITS - Number of bits per color channel
  • FRAME_COUNT - Number of frames needed for BCM

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.

Implementors§