pub fn is_within(event: &MouseEvent, rect: Rect) -> bool
Check if a mouse event is within a Rect.
Rect