iced_graphics::damage

Function 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.