pub enum CanvasOp {
Fill(Path, Paint),
Stroke(Path, Stroke),
}Expand description
One drawing a paint closure recorded, for the renderer.
Variants§
Fill(Path, Paint)
The inside of a path, by the nonzero winding rule.
Stroke(Path, Stroke)
Along a path.
Trait Implementations§
impl StructuralPartialEq for CanvasOp
Auto Trait Implementations§
impl Forget for CanvasOp
impl Freeze for CanvasOp
impl Move for CanvasOp
impl RefUnwindSafe for CanvasOp
impl Send for CanvasOp
impl Sync for CanvasOp
impl Unpin for CanvasOp
impl UnsafeUnpin for CanvasOp
impl UnwindSafe for CanvasOp
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