pub struct SoftMaskState {
pub mask: SoftMask,
pub saved_masks: Vec<SoftMask>,
}Expand description
Soft mask state for graphics context
Fields§
§mask: SoftMaskCurrent soft mask
saved_masks: Vec<SoftMask>Stack of saved soft masks for nested operations
Implementations§
Source§impl SoftMaskState
impl SoftMaskState
Trait Implementations§
Source§impl Clone for SoftMaskState
impl Clone for SoftMaskState
Source§fn clone(&self) -> SoftMaskState
fn clone(&self) -> SoftMaskState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SoftMaskState
impl Debug for SoftMaskState
Auto Trait Implementations§
impl Freeze for SoftMaskState
impl RefUnwindSafe for SoftMaskState
impl Send for SoftMaskState
impl Sync for SoftMaskState
impl Unpin for SoftMaskState
impl UnsafeUnpin for SoftMaskState
impl UnwindSafe for SoftMaskState
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