pub enum PaintColor {
Solid(Color32),
Gradient(Gradient),
}
Variants§
Trait Implementations§
Source§impl Clone for PaintColor
impl Clone for PaintColor
Source§fn clone(&self) -> PaintColor
fn clone(&self) -> PaintColor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PaintColor
impl Debug for PaintColor
Auto Trait Implementations§
impl Freeze for PaintColor
impl RefUnwindSafe for PaintColor
impl Send for PaintColor
impl Sync for PaintColor
impl Unpin for PaintColor
impl UnwindSafe for PaintColor
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