Trait carboxyl_window::RunnableWindow
[−]
[src]
pub trait RunnableWindow { fn run_with<F: FnMut()>(&mut self, fps: f64, render: F); fn run(&mut self, fps: f64) { ... } }
An abstraction of a window's event generation facilities.
Required Methods
fn run_with<F: FnMut()>(&mut self, fps: f64, render: F)
Run the window, calling a function every frame
Provided Methods
Implementors
impl<S> RunnableWindow for SourceWindow<S> where
S: Borrowing,
S::Target: Window<Event = Input> + AdvancedWindow,