Skip to main content

MutableFrameBuffer

Trait MutableFrameBuffer 

Source
pub trait MutableFrameBuffer: FrameBuffer + 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.

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§

Source§

impl<F: MutableFrameBuffer, M: PixelRemapper, const PANEL_ROWS: usize, const PANEL_COLS: usize, const NROWS: usize, const BITS: u8, const FRAME_COUNT: usize, const TILE_ROWS: usize, const TILE_COLS: usize, const FB_COLS: usize> MutableFrameBuffer for TiledFrameBuffer<F, M, PANEL_ROWS, PANEL_COLS, NROWS, BITS, FRAME_COUNT, TILE_ROWS, TILE_COLS, FB_COLS>

Source§

impl<const NROWS: usize, const COLS: usize, const PLANES: usize> MutableFrameBuffer for hub75_framebuffer::bitplane::latched::DmaFrameBuffer<NROWS, COLS, PLANES>

Source§

impl<const NROWS: usize, const COLS: usize, const PLANES: usize> MutableFrameBuffer for hub75_framebuffer::bitplane::plain::DmaFrameBuffer<NROWS, COLS, PLANES>

Source§

impl<const ROWS: usize, const COLS: usize, const NROWS: usize, const BITS: u8, const FRAME_COUNT: usize> MutableFrameBuffer for hub75_framebuffer::latched::DmaFrameBuffer<ROWS, COLS, NROWS, BITS, FRAME_COUNT>

Source§

impl<const ROWS: usize, const COLS: usize, const NROWS: usize, const BITS: u8, const FRAME_COUNT: usize> MutableFrameBuffer for hub75_framebuffer::plain::DmaFrameBuffer<ROWS, COLS, NROWS, BITS, FRAME_COUNT>