pub struct Clip {
pub parent: Option<Id>,
pub transform: Id,
pub path: BezPath,
}Expand description
A clipping shape, in the coordinates of its transform node.
Fields§
§parent: Option<Id>The clip it lies inside; None at the root.
transform: IdThe transform node whose coordinates path is in.
path: BezPathIts shape; an empty one cuts nothing.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Clip
impl Freeze for Clip
impl RefUnwindSafe for Clip
impl Send for Clip
impl Sync for Clip
impl Unpin for Clip
impl UnsafeUnpin for Clip
impl UnwindSafe for Clip
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