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 Move for Clip
impl RefUnwindSafe for Clip
impl Send for Clipwhere
RawVecInner: Send,
impl Sync for Clipwhere
RawVecInner: Sync,
impl Unpin for Clip
impl UnsafeUnpin for Clip
impl UnwindSafe for Clipwhere
RawVecInner: UnwindSafe,
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