pub fn side_point(rect: &Rect, side: Side, frac: f64) -> Point
The point on the boundary of rect at fraction frac (0..=1) along side.
rect
frac
side