pub enum PaintKind {
Solid,
Linear,
Radial,
Conic,
}Expand description
What kind of paint covers a fill.
Variants§
Solid
One color.
Linear
Along the line from a to b.
Radial
Around a, offset 1 at radius b[0] (a fraction of the shorter side).
Conic
Around a, from angle b[0] radians clockwise from up.
Trait Implementations§
impl Copy for PaintKind
impl Eq for PaintKind
impl StructuralPartialEq for PaintKind
Auto Trait Implementations§
impl Freeze for PaintKind
impl RefUnwindSafe for PaintKind
impl Send for PaintKind
impl Sync for PaintKind
impl Unpin for PaintKind
impl UnsafeUnpin for PaintKind
impl UnwindSafe for PaintKind
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