Function cosmic::iced_winit::graphics::core::widget::operation::map

source ยท
pub fn map<A, B>(
    operation: impl Operation<A>,
    f: impl Fn(A) -> B + Send + Sync + 'static,
) -> impl Operation<B>
where A: 'static, B: 'static,
Expand description

Maps the output of an Operation using the given function.