Enum Orientation2
pub enum Orientation2 {
Clockwise,
CounterClockwise,
Collinear,
}Expand description
The winding order of three 2D points.
Variants§
Clockwise
Points wind in clockwise order.
CounterClockwise
Points wind in counterclockwise order.
Collinear
Points are collinear.
Trait Implementations§
§impl Clone for Orientation2
impl Clone for Orientation2
§fn clone(&self) -> Orientation2
fn clone(&self) -> Orientation2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Orientation2
impl Debug for Orientation2
§impl PartialEq for Orientation2
impl PartialEq for Orientation2
impl Copy for Orientation2
impl Eq for Orientation2
impl StructuralPartialEq for Orientation2
Auto Trait Implementations§
impl Freeze for Orientation2
impl RefUnwindSafe for Orientation2
impl Send for Orientation2
impl Sync for Orientation2
impl Unpin for Orientation2
impl UnsafeUnpin for Orientation2
impl UnwindSafe for Orientation2
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