pub fn overlaps(&self, b: &Rect) -> bool {
        self.right() >= b.left()
            && b.right() >= self.left()
            && self.top() >= b.bottom()
            && b.top() >= self.bottom()
    }
/// Return whether this rectangle overlaps with the provided rectangle. Including boundary.
Return whether this rectangle overlaps with the provided rectangle. Including boundary.
Return whether this rectangle overlaps with the provided rectangle . Including boundary .
pub fn overlaps(&self, b: &Rect) -> bool {
        self.right() >= b.left()
            && b.right() >= self.left()
            && self.top() >= b.bottom()
            && b.top() >= self.bottom()
    }
pub fn overlaps ( & self , b : & Rect ) -> bool { self . right ( ) >= b . left ( ) && b . right ( ) >= self . left ( ) && self . top ( ) >= b . bottom ( ) && b . top ( ) >= self . bottom ( ) }
Return whether this rectangle overlaps with the provided rectangle.
Return whether this rectangle overlaps with the provided rectangle .
&self
b
&Rect