pub enum PathFillRule {
NonZero,
EvenOdd,
}Expand description
Fill rule for VectorPath rasterization.
Variants§
NonZero
Fill where the winding number is non-zero (SVG default).
EvenOdd
Fill where a ray crosses an odd number of edges.
Trait Implementations§
Source§impl Clone for PathFillRule
impl Clone for PathFillRule
Source§fn clone(&self) -> PathFillRule
fn clone(&self) -> PathFillRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PathFillRule
Source§impl Debug for PathFillRule
impl Debug for PathFillRule
Source§impl Default for PathFillRule
impl Default for PathFillRule
Source§fn default() -> PathFillRule
fn default() -> PathFillRule
Returns the “default value” for a type. Read more
impl Eq for PathFillRule
Source§impl PartialEq for PathFillRule
impl PartialEq for PathFillRule
Source§fn eq(&self, other: &PathFillRule) -> bool
fn eq(&self, other: &PathFillRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PathFillRule
Auto Trait Implementations§
impl Freeze for PathFillRule
impl RefUnwindSafe for PathFillRule
impl Send for PathFillRule
impl Sync for PathFillRule
impl Unpin for PathFillRule
impl UnsafeUnpin for PathFillRule
impl UnwindSafe for PathFillRule
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