pub fn quantize_rect(rect: Rect, factor: f64) -> Option<[i64; 4]>
quantizeRect: the rectangle, normalized, with its edges moved outwards to multiples of factor. None for a factor below 1 (ValueError).
quantizeRect
factor
None
ValueError