pub fn submit_command(
        &mut self,
        command: impl Into<Command>,
        window_id: impl Into<Option<WindowId>>,
    ) {
        let window_id = window_id.into().unwrap_or(self.window_id);
        self.command_queue.push_back((window_id, command.into()))
    }
/// Submit a [`Command`] to be run after this event is handled.
///
/// Commands are run in the order they are submitted; all commands
/// submitted during the handling of an event are executed before
/// the [`update()`] method is called.
///
/// [`Command`]: struct.Command.html
/// [`update()`]: trait.Widget.html#tymethod.update
Submit a [`Command`] to be run after this event is handled.
Commands are run in the order they are submitted; all commands
submitted during the handling of an event are executed before
the [`update()`] method is called.


Submit a [ ` Command ` ] to be run after this event is handled . Commands are run in the order they are submitted ; all commands submitted during the handling of an event are executed before the [ ` update () ` ] method is called .
pub fn submit_command(
        &mut self,
        command: impl Into<Command>,
        window_id: impl Into<Option<WindowId>>,
    ) {
        let window_id = window_id.into().unwrap_or(self.window_id);
        self.command_queue.push_back((window_id, command.into()))
    }
pub fn submit_command ( & mut self , command : impl Into < Command > , window_id : impl Into < Option < WindowId > > , ) { let window_id = window_id . into ( ) . unwrap_or ( self . window_id ) ; self . command_queue . push_back ( ( window_id , command . into ( ) ) ) }
Submit a [`Command`] to be run after this event is handled.
Submit a [ ` Command ` ] to be run after this event is handled .
&mut self
command
impl Into<Command>
window_id
impl Into<Option<WindowId>>
&mut self
command
impl Into<Command>
window_id
impl Into<Option<WindowId>>