cosmic::iced_winit::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.