pub struct MaskBlur {
pub sigma: f32,
pub style: BlurStyle,
}Expand description
MaskBlur applies a Gaussian blur to a draw’s coverage mask.
Sigma is measured in local units and follows the draw’s transform.
Fields§
§sigma: f32sigma is the nonnegative Gaussian standard deviation in local units.
style: BlurStylestyle controls which side of the original coverage remains visible.
Implementations§
Trait Implementations§
impl Copy for MaskBlur
impl StructuralPartialEq for MaskBlur
Auto Trait Implementations§
impl Freeze for MaskBlur
impl RefUnwindSafe for MaskBlur
impl Send for MaskBlur
impl Sync for MaskBlur
impl Unpin for MaskBlur
impl UnsafeUnpin for MaskBlur
impl UnwindSafe for MaskBlur
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