fn contains_point(&self, point: Point) -> bool {
        let ptx = point.x;
        let pty = point.y;

        self.left() <= ptx && ptx <= self.right() && self.top() <= pty && pty <= self.bottom()
    }
/// Whether or not an area contains a point.
Whether or not an area contains a point.
Whether or not an area contains a point .
fn contains_point(&self, point: Point) -> bool {
        let ptx = point.x;
        let pty = point.y;
        self.left() <= ptx && ptx <= self.right() && self.top() <= pty && pty <= self.bottom()
    }
fn contains_point ( & self , point : Point ) -> bool { let ptx = point . x ; let pty = point . y ; self . left ( ) <= ptx && ptx <= self . right ( ) && self . top ( ) <= pty && pty <= self . bottom ( ) }
Whether or not an area contains a point.
Whether or not an area contains a point .
&self
point
Point
&self
point
Point