pub fn pixel_rect(rect: Rect, width: u32, height: u32) -> Option<FineDamageRect>
The device pixels rect touches inside a width x height target, rounded out; None when that is empty.
rect
width
height
None