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 WindowMessagespub fn new() -> Self[src]
pub fn new() -> SelfCreate 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 WindowMessagesfn default() -> WindowMessages[src]
fn default() -> WindowMessagesReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for WindowMessages
impl Send for WindowMessagesimpl Sync for WindowMessages
impl Sync for WindowMessages