Trait Flush

Source
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§

Source

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.

Implementors§

Source§

impl Flush for Console<'_>

Source§

impl Flush for TopScreen3D<'_>

Source§

impl<S: Screen> Flush for S