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.