Function cosmic::iced_winit::graphics::damage::list

source ยท
pub fn list<T>(
    previous: &[T],
    current: &[T],
    bounds: impl Fn(&T) -> Vec<Rectangle>,
    are_equal: impl Fn(&T, &T) -> bool,
) -> Vec<Rectangle>
Expand description

Computes the damage regions given some previous and current primitives.