pub enum FillRule {
EvenOdd,
NonZero,
}Expand description
The rule used to determine which parts of a self-intersecting path are considered “inside” for filling purposes.
Variants§
EvenOdd
The even-odd rule alternates inside/outside on each crossing.
NonZero
The non-zero winding-number rule (the default for most renderers).
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 UnsafeUnpin 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