Function cosmic::iced_widget::renderer::graphics::damage::diff

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

Diffs the damage regions given some previous and current primitives.