pub enum Orientation2D {
Clockwise,
CounterClockwise,
Collinear,
}Expand description
Relative winding/orientation classification for planar geometry.
Variants§
Clockwise
Points or edges are ordered clockwise.
CounterClockwise
Points or edges are ordered counter-clockwise.
Collinear
No orientation can be determined because the data is collinear.
Trait Implementations§
Source§impl Clone for Orientation2D
impl Clone for Orientation2D
impl Copy for Orientation2D
Source§impl Debug for Orientation2D
impl Debug for Orientation2D
impl Eq for Orientation2D
Source§impl PartialEq for Orientation2D
impl PartialEq for Orientation2D
impl StructuralPartialEq for Orientation2D
Auto Trait Implementations§
impl Freeze for Orientation2D
impl RefUnwindSafe for Orientation2D
impl Send for Orientation2D
impl Sync for Orientation2D
impl Unpin for Orientation2D
impl UnsafeUnpin for Orientation2D
impl UnwindSafe for Orientation2D
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