pub enum PaintType {
Solid(AlphaColor<Srgb>),
Gradient(Gradient),
Image(Image),
}
Expand description
A kind of paint that can be used for filling and stroking shapes.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaintType
impl RefUnwindSafe for PaintType
impl Send for PaintType
impl Sync for PaintType
impl Unpin for PaintType
impl UnwindSafe for PaintType
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