iced::advanced::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,
Available on crate feature advanced only.
Expand description

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