iced_core::widget::operation

Function black_box

source
pub fn black_box<'a, T, O>(
    operation: &'a mut dyn Operation<T>,
) -> impl Operation<O> + 'a
where T: 'a,
Expand description

Wraps the Operation in a black box, erasing its returning type.