pub struct PathClip {
pub path: Arc<Path2D>,
pub transform: Transform,
pub rule: FillRule,
}Expand description
A checked path used as a coverage mask on an isolated subtree.
Transform and rule remain editable and validate during compilation/preflight. The transform is node-local in authoring and device-space in a DisplayList.
Fields§
§path: Arc<Path2D>Shared geometry; open contours close implicitly for filling.
transform: TransformMapping from path coordinates into the owning coordinate system.
rule: FillRuleExplicit filled-interior rule.
Implementations§
Trait Implementations§
impl StructuralPartialEq for PathClip
Auto Trait Implementations§
impl Forget for PathClip
impl Freeze for PathClip
impl RefUnwindSafe for PathClip
impl Send for PathClip
impl Sync for PathClip
impl Unpin for PathClip
impl UnsafeUnpin for PathClip
impl UnwindSafe for PathClip
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