pub struct DrawProps<'a> {
pub transform: Affine,
pub paint: Paint<'a>,
pub soft_mask: Option<SoftMask<'a>>,
pub blend_mode: BlendMode,
}Expand description
Properties for a painted drawing operation.
Fields§
§transform: AffineThe transform.
paint: Paint<'a>The paint.
soft_mask: Option<SoftMask<'a>>The soft mask.
blend_mode: BlendModeThe blend mode.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DrawProps<'a>
impl<'a> !Send for DrawProps<'a>
impl<'a> !Sync for DrawProps<'a>
impl<'a> !UnwindSafe for DrawProps<'a>
impl<'a> Freeze for DrawProps<'a>
impl<'a> Unpin for DrawProps<'a>
impl<'a> UnsafeUnpin for DrawProps<'a>
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