iced::advanced::widget

Function operate

Source
pub fn operate<T>(operation: impl Operation<T> + 'static) -> Task<T>
where T: Send + 'static,
Available on crate feature advanced only.
Expand description

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