pub enum RectangleOrientation {
Unique,
Tied,
Unproven,
}Expand description
How well the orientation of a PlanRectangle is known.
Variants§
Unique
Exactly one orientation encloses the footprint with the least area, up to quarter turns, and the rectangle has it: its axes are the footprint’s own.
Tied
Several orientations share the least area. The rectangle is one of them; another may have other sides, so neither its axes nor its sides are the footprint’s own.
Unproven
The mesh approximates the object’s shape, so which orientation encloses the true footprint with the least area is not known. The half extents still bound the true footprint along these axes.
Implementations§
Trait Implementations§
Source§impl Clone for RectangleOrientation
impl Clone for RectangleOrientation
impl Copy for RectangleOrientation
Source§impl Debug for RectangleOrientation
impl Debug for RectangleOrientation
impl Eq for RectangleOrientation
Source§impl Hash for RectangleOrientation
impl Hash for RectangleOrientation
Source§impl Ord for RectangleOrientation
impl Ord for RectangleOrientation
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RectangleOrientation
impl PartialEq for RectangleOrientation
Source§impl PartialOrd for RectangleOrientation
impl PartialOrd for RectangleOrientation
impl StructuralPartialEq for RectangleOrientation
Auto Trait Implementations§
impl Freeze for RectangleOrientation
impl RefUnwindSafe for RectangleOrientation
impl Send for RectangleOrientation
impl Sync for RectangleOrientation
impl Unpin for RectangleOrientation
impl UnsafeUnpin for RectangleOrientation
impl UnwindSafe for RectangleOrientation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more