iced_core::widget::operation

Function then

source
pub fn then<A, B, O>(
    operation: impl Operation<A> + 'static,
    f: fn(_: A) -> O,
) -> impl Operation<B>
where A: 'static, B: Send + 'static, O: Operation<B> + 'static,
Expand description

Chains the output of an Operation with the provided function to build a new Operation.