fill

Function fill 

Source
pub fn fill(display: &mut Display, value: u8)
Expand description

Fill the display buffer with a value which maybe either 0x00 or 0xFF.

Examples found in repository?
examples/display_fill.rs (line 9)
5fn main() -> Result<()> {
6    let mut device = Device::new()?;
7    device.initialize_components()?;
8    
9    gfx::fill(&mut device.display, 0xFF);
10    device.display.render()?;
11
12    Ok(())
13}