Online documentation for the Rect class
type 'a t = {left : 'a;top : 'a;width : 'a;height : 'a;
}val contains_f : rect:float t -> x:float -> y:float -> boolval contains_i : rect:int t -> x:int -> y:int -> boolval intersects_i : rect1:int t -> rect2:int t -> boolval intersection_i : rect1:int t -> rect2:int t -> int t optionval intersects_f : rect1:float t -> rect2:float t -> boolval intersection_f : rect1:float t -> rect2:float t -> float t option