#[repr(C)]pub enum FillRule {
EvenOdd = 0,
NonZero = 1,
Positive = 2,
Negative = 3,
}Expand description
Fill rule determines how polygons with self-intersections are filled Direct port from clipper.core.h line 108
Variants§
EvenOdd = 0
Even-odd fill rule (also known as Alternate)
NonZero = 1
Non-zero fill rule (also known as Winding)
Positive = 2
Positive fill rule
Negative = 3
Negative fill rule
Trait Implementations§
impl Copy for FillRule
impl Eq for FillRule
impl StructuralPartialEq for FillRule
Auto Trait Implementations§
impl Freeze for FillRule
impl RefUnwindSafe for FillRule
impl Send for FillRule
impl Sync for FillRule
impl Unpin for FillRule
impl UnwindSafe for FillRule
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