pub fn contains_pos_for_isize(&self, pos: (usize, usize), rect: (isize, isize, usize, usize)) -> bool {
        if pos.0 as isize >= rect.0 && (pos.0 as isize) < rect.0 + rect.2 as isize && pos.1 as isize >= rect.1 && (pos.1 as isize) < rect.1 + rect.3 as isize {
            true
        } else {
            false
        }
    }
/// Returns true if the given rect (with an isize offset) contains the given position
Returns true if the given rect (with an isize offset) contains the given position
Returns true if the given rect ( with an isize offset ) contains the given position
pub fn contains_pos_for_isize(&self, pos: (usize, usize), rect: (isize, isize, usize, usize)) -> bool {
        if pos.0 as isize >= rect.0 && (pos.0 as isize) < rect.0 + rect.2 as isize && pos.1 as isize >= rect.1 && (pos.1 as isize) < rect.1 + rect.3 as isize {
            true
        } else {
            false
        }
    }
pub fn contains_pos_for_isize ( & self , pos : ( usize , usize ) , rect : ( isize , isize , usize , usize ) ) -> bool { if pos . 0 as isize >= rect . 0 && ( pos . 0 as isize ) < rect . 0 + rect . 2 as isize && pos . 1 as isize >= rect . 1 && ( pos . 1 as isize ) < rect . 1 + rect . 3 as isize { true } else { false } }
Returns true if the given rect (with an isize offset) contains the given position
Returns true if the given rect ( with an isize offset ) contains the given position
&self
pos
(usize, usize)
rect
(isize, isize, usize, usize)
&self
pos
(usize, usize)
rect
(isize, isize, usize, usize)