Trait Contains
mgf
pub trait Contains<RHS> { fn contains(&self, rhs: &RHS) -> bool; }
A type that can completely subsume another.
Contains is another common form of discrete collision detection. Most often used internally to determine if an object contains a point.
fn contains(&self, rhs: &RHS) -> bool
Returns true if the current object contains the argument.
impl Contains<Point3<f32>> for Plane
impl Contains<Point3<f32>> for Triangle
impl Contains<Point3<f32>> for Rectangle
impl Contains<Point3<f32>> for AABB
impl Contains<Point3<f32>> for Sphere
impl Contains<AABB> for AABB
impl Contains<Sphere> for Sphere