pub fn contains(&self, vec: &na::Vector2<T>) -> bool {
        if vec.x >= self.left
            && vec.x <= self.right
            && vec.y >= self.bottom
            && vec.y <= self.top
        {
            true
        } else {
            false
        }
    }
/// Check if a point is contained within this rectangle.
///
/// # Returns
///
/// - `true` when the point is contained within the rectangle. Comparison
///   is inclusive, so the edges of the rectangle are considered 'inside'.
Check if a point is contained within this rectangle.
Check if a point is contained within this rectangle .
pub fn contains(&self, vec: &na::Vector2<T>) -> bool {
        if vec.x >= self.left
            && vec.x <= self.right
            && vec.y >= self.bottom
            && vec.y <= self.top
        {
            true
        } else {
            false
        }
    }
pub fn contains ( & self , vec : & na :: Vector2 < T > ) -> bool { if vec . x >= self . left && vec . x <= self . right && vec . y >= self . bottom && vec . y <= self . top { true } else { false } }
Check if a point is contained within this rectangle.
Check if a point is contained within this rectangle .
when the point is contained within the rectangle. Comparison
is inclusive, so the edges of the rectangle are considered 'inside'.
when the point is contained within the rectangle . Comparison is inclusive so the edges of the rectangle are considered ' inside ' .
ru
&self
vec
&na::Vector2<T>