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]
impl WindowMessages
pub fn new() -> Self
[src]
pub fn new() -> Self
Create a new WindowMessages
pub fn send_command<F>(&mut self, command: F) where
F: FnMut(&Window) + Send + Sync + 'static,
[src]
pub fn send_command<F>(&mut self, command: F) where
F: FnMut(&Window) + Send + Sync + 'static,
Execute this closure on the winit::Window
next frame.
Trait Implementations
impl Default for WindowMessages
[src]
impl Default for WindowMessages
fn default() -> WindowMessages
[src]
fn default() -> WindowMessages
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for WindowMessages
impl Send for WindowMessages
impl Sync for WindowMessages
impl Sync for WindowMessages