pub struct mask;Expand description
HTML <mask> element - Defines an area where SVG elements are partially or fully hidden
Example:
<mask id="myMask"><rect width="100%" height="100%" fill="white" opacity="0.5" /></mask>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for mask
impl RefUnwindSafe for mask
impl Send for mask
impl Sync for mask
impl Unpin for mask
impl UnwindSafe for mask
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