Struct amethyst_renderer::WindowMessages
[−]
[src]
pub struct WindowMessages { /* fields omitted */ }
This specs resource with id 0 permits sending commands to the renderer internal window.
Methods
impl WindowMessages
[src]
fn new() -> Self
[src]
Create a new WindowMessages
fn send_command<F>(&mut self, command: F) where
F: FnMut(&Window) + Send + Sync + 'static,
[src]
F: FnMut(&Window) + Send + Sync + 'static,
Execute this closure on the winit::Window
next frame.
Trait Implementations
impl Default for WindowMessages
[src]
fn default() -> WindowMessages
[src]
Returns the "default value" for a type. Read more