pub fn submit_command(&mut self, cmd: impl Into<Command>) {
        let command = cmd.into().default_to(self.mock_app.window.id.into());
        let event = Event::Internal(InternalEvent::TargetedCommand(command));
        self.event(event);
    }
/// Send a command to a target.
Send a command to a target.
Send a command to a target .
pub fn submit_command(&mut self, cmd: impl Into<Command>) {
        let command = cmd.into().default_to(self.mock_app.window.id.into());
        let event = Event::Internal(InternalEvent::TargetedCommand(command));
        self.event(event);
    }
pub fn submit_command ( & mut self , cmd : impl Into < Command > ) { let command = cmd . into ( ) . default_to ( self . mock_app . window . id . into ( ) ) ; let event = Event :: Internal ( InternalEvent :: TargetedCommand ( command ) ) ; self . event ( event ) ; }
Send a command to a target.
Send a command to a target .
&mut self
cmd
impl Into<Command>
&mut self
cmd
impl Into<Command>