pub struct VectorMask {
pub tree: Arc<VectorTree>,
pub mode: MaskMode,
pub rect: Rect,
}Expand description
A shared coordinate/isolation group, including source provenance.
Fields§
§tree: Arc<VectorTree>Immutable local mask artwork; its IDs are scoped to this resource.
mode: MaskModeAlpha/luminance extraction policy.
rect: RectLocal mask region, outside which coverage is zero.
Trait Implementations§
Source§impl Clone for VectorMask
impl Clone for VectorMask
Auto Trait Implementations§
impl !RefUnwindSafe for VectorMask
impl !UnwindSafe for VectorMask
impl Forget for VectorMask
impl Freeze for VectorMask
impl Send for VectorMask
impl Sync for VectorMask
impl Unpin for VectorMask
impl UnsafeUnpin for VectorMask
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