Function melpomene::sim_drivers::emb_display::frame_display
source · fn frame_display(fc: &mut FrameChunk) -> Result<ImageRaw<'_, Gray8>, ()>
Expand description
Create and return a Simulator display object from raw pixel data.
Pixel data is turned into a raw image, and then drawn onto a SimulatorDisplay object This is necessary as a e-g Window only accepts SimulatorDisplay object On a physical display, the raw pixel data can be sent over to the display directly Using the display’s device interface