Trait xplm::draw::DrawCallback

source ·
pub trait DrawCallback: 'static {
    // Required method
    fn draw(&mut self);
}
Expand description

A callback that can be called while X-Plane draws graphics

Required Methods§

source

fn draw(&mut self)

Draws

Implementors§

source§

impl<F> DrawCallback for F
where F: 'static + FnMut(),