pub struct AlphaMaskPaint {
pub path: Path,
pub transform: Transform2D,
pub fill: Fill,
pub opacity: f32,
pub composition: Option<(u32, f32)>,
}Expand description
Vector paint used to construct a surface-local alpha mask.
Fields§
§path: Path§transform: Transform2D§fill: Fill§opacity: f32§composition: Option<(u32, f32)>Auto Trait Implementations§
impl Freeze for AlphaMaskPaint
impl RefUnwindSafe for AlphaMaskPaint
impl Send for AlphaMaskPaint
impl Sync for AlphaMaskPaint
impl Unpin for AlphaMaskPaint
impl UnsafeUnpin for AlphaMaskPaint
impl UnwindSafe for AlphaMaskPaint
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.