pub fn inside(&self, rect: &Rect) -> bool {
        self.x() > rect.x()
            && self.y() > rect.y()
            && self.x() < rect.x() + rect.w()
            && self.y() < rect.y() + rect.h()
    }
/// Returns true if the mouse (x, y) position is inside of the referenced Rect
Returns true if the mouse (x, y) position is inside of the referenced Rect
Returns true if the mouse ( x y ) position is inside of the referenced Rect
pub fn inside(&self, rect: &Rect) -> bool {
        self.x() > rect.x()
            && self.y() > rect.y()
            && self.x() < rect.x() + rect.w()
            && self.y() < rect.y() + rect.h()
    }
pub fn inside ( & self , rect : & Rect ) -> bool { self . x ( ) > rect . x ( ) && self . y ( ) > rect . y ( ) && self . x ( ) < rect . x ( ) + rect . w ( ) && self . y ( ) < rect . y ( ) + rect . h ( ) }
Returns true if the mouse (x, y) position is inside of the referenced Rect
Returns true if the mouse ( x y ) position is inside of the referenced Rect
&self
rect
&Rect
&self
rect
&Rect