pub enum Mask {
Rect(Rect),
RoundedRect {
rect: Rect,
radius: u8,
},
}Expand description
A clip mask for a partial overlay (SURF-3). RoundedRect uses egui clip +
corner radius; both are available on every backend.
Variants§
Implementations§
Trait Implementations§
impl Copy for Mask
impl StructuralPartialEq for Mask
Auto Trait Implementations§
impl Freeze for Mask
impl RefUnwindSafe for Mask
impl Send for Mask
impl Sync for Mask
impl Unpin for Mask
impl UnsafeUnpin for Mask
impl UnwindSafe for Mask
Blanket Implementations§
impl<T> Allocation for T
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