pub trait Flush: Sealed {
// Required method
fn flush_buffers(&mut self);
}
Expand description
A screen with buffers that can be flushed.
This trait applies to any Screen
that has data written to its frame buffer.
Required Methods§
sourcefn flush_buffers(&mut self)
fn flush_buffers(&mut self)
Flushes the video buffer(s) for this screen.
Note that you must still call Swap::swap_buffers
after this method for the buffer contents to be displayed.