pub enum ClipRule {
Winding,
EvenOdd,
}Expand description
Which rule decides a clipping path’s interior (ISO 32000-1 §8.5.4).
Distinct from FillRule, which has a third state for
“does not fill at all”: a clip always has an interior, so W and W* are
the only two answers.
Variants§
Trait Implementations§
impl Copy for ClipRule
impl Eq for ClipRule
impl StructuralPartialEq for ClipRule
Auto Trait Implementations§
impl Freeze for ClipRule
impl RefUnwindSafe for ClipRule
impl Send for ClipRule
impl Sync for ClipRule
impl Unpin for ClipRule
impl UnsafeUnpin for ClipRule
impl UnwindSafe for ClipRule
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