pub trait Rectangle<C: CoordinateConcept>: Polygon90<C> {
type Interval: Interval<C::Coord>;
// Required method
fn get(&self, orientation: Orientation2D) -> Self::Interval;
}Expand description
Concept of an axis-aligned rectangle.
Required Associated Types§
Required Methods§
Sourcefn get(&self, orientation: Orientation2D) -> Self::Interval
fn get(&self, orientation: Orientation2D) -> Self::Interval
Get the interval which is spanned by the rectangle in the given orientation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.