Function iced::advanced::widget::operation::map

source ·
pub fn map<A, B>(
    operation: Box<dyn Operation<A>>,
    f: impl Fn(A) -> B + 'static
) -> impl Operation<B>
where A: 'static, B: 'static,
Available on crate feature advanced only.
Expand description

Maps the output of an Operation using the given function.