pub struct Paint {
pub color: Color,
pub anti_alias: bool,
}Expand description
Describes how a filled region should be painted.
Fields§
§color: ColorThe fill color.
anti_alias: boolWhether anti-aliasing is enabled for this fill.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Paint
impl RefUnwindSafe for Paint
impl Send for Paint
impl Sync for Paint
impl Unpin for Paint
impl UnsafeUnpin for Paint
impl UnwindSafe for Paint
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