pub enum Direction {
Default,
Reversed,
}
Expand description
By default, a properly-oriented Polygon has its outer ring oriented counter-clockwise,
and its inner ring(s) oriented clockwise. Selecting Reversed
will result in a Polygon
with a clockwise-oriented exterior ring, and counter-clockwise interior ring(s)
Variants§
Default
exterior ring is oriented counter-clockwise, interior rings are oriented clockwise
Reversed
exterior ring is oriented clockwise, interior rings are oriented counter-clockwise
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
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