Function cosmic::iced_winit::runtime::task::widget

source ยท
pub fn widget<T>(operation: impl Operation<T> + 'static) -> Task<T>
where T: Send + 'static,
Expand description

Creates a new Task that runs the given widget::Operation and produces its output.