pub enum Convexity {
Convex,
Concave,
}Expand description
Whether a subpath is convex, which selects the fill strategy.
Convex paths take a fan-fill fast path that skips both tessellation and the
stencil pass, so detection is worth doing — but a wrong Convex answer
renders incorrectly, while a wrong Concave answer only costs speed.
Detection is therefore conservative: anything it cannot prove convex is
reported Convexity::Concave.
Variants§
Trait Implementations§
impl Copy for Convexity
impl Eq for Convexity
impl StructuralPartialEq for Convexity
Auto Trait Implementations§
impl Freeze for Convexity
impl RefUnwindSafe for Convexity
impl Send for Convexity
impl Sync for Convexity
impl Unpin for Convexity
impl UnsafeUnpin for Convexity
impl UnwindSafe for Convexity
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