pub struct Layer {
pub mask: Arc<Mask>,
pub parts: Vec<OverlayPart>,
pub role: Role,
}Expand description
One mask and where to draw it, bottom layer first.
Fields§
§mask: Arc<Mask>§parts: Vec<OverlayPart>§role: RoleTrait Implementations§
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Forget for Layer
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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