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 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