Function cosmic::iced_winit::application::run_command
source ยท pub fn run_command<A, C, E>(
application: &A,
compositor: &mut C,
surface: &mut <C as Compositor>::Surface,
cache: &mut Cache,
state: &State<A>,
renderer: &mut <A as Program>::Renderer,
command: Command<<A as Program>::Message>,
runtime: &mut Runtime<E, Proxy<UserEventWrapper<<A as Program>::Message>>, UserEventWrapper<<A as Program>::Message>>,
clipboard: &mut Clipboard<<A as Program>::Message>,
should_exit: &mut bool,
proxy: &mut EventLoopProxy<UserEventWrapper<<A as Program>::Message>>,
debug: &mut Debug,
window: &Window,
)where
A: Application,
E: Executor,
C: Compositor<Renderer = <A as Program>::Renderer> + 'static,
<A as Program>::Theme: StyleSheet,
Expand description
Runs the actions of a Command
.