pub trait ContainsPoint {
// Required method
fn contains(&self, point: Point) -> bool;
}Expand description
Trait to check if a point is inside a closed shape.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".