pub struct Paint;
Implementations§
Source§impl Paint
impl Paint
pub fn set_anti_alias(&mut self, _anti_alias: bool) -> &mut Self
pub fn set_color(&mut self, _color: impl Into<Color>) -> &mut Self
pub fn set_blend_mode(&mut self, _mode: BlendMode) -> &mut Self
pub fn set_style(&mut self, _style: PaintStyle) -> &mut Self
pub fn set_shader(&mut self, _shader: impl Into<Option<Shader>>) -> &mut Self
pub fn set_stroke_width(&mut self, _width: f32) -> &mut Self
pub fn set_mask_filter( &mut self, _mask_filter: impl Into<Option<MaskFilter>>, ) -> &mut Self
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 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