pub fn list<T>( previous: &[Primitive<T>], current: &[Primitive<T>], ) -> Vec<Rectangle>where T: Damage,
Computes the damage regions between the two given lists of primitives.