pub struct MaskLayerProps {
pub layout: LayoutStyle,
pub mask: Mask,
}Expand description
Scoped alpha mask wrapper for declarative element subtrees (ADR 0239).
This emits a SceneOp::PushMask/PopMask pair around the subtree during painting. The mask’s
computation bounds are the wrapper’s final layout bounds.
Fields§
§layout: LayoutStyle§mask: MaskTrait Implementations§
Source§impl Clone for MaskLayerProps
impl Clone for MaskLayerProps
Source§fn clone(&self) -> MaskLayerProps
fn clone(&self) -> MaskLayerProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaskLayerProps
impl Debug for MaskLayerProps
Source§impl PartialEq for MaskLayerProps
impl PartialEq for MaskLayerProps
impl Copy for MaskLayerProps
impl StructuralPartialEq for MaskLayerProps
Auto Trait Implementations§
impl Freeze for MaskLayerProps
impl RefUnwindSafe for MaskLayerProps
impl Send for MaskLayerProps
impl Sync for MaskLayerProps
impl Unpin for MaskLayerProps
impl UnsafeUnpin for MaskLayerProps
impl UnwindSafe for MaskLayerProps
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