pub enum ColorScale {
Palette(ColorScalePalette),
Vector(Vec<ColorScaleElement>),
}
Variants§
Palette(ColorScalePalette)
Vector(Vec<ColorScaleElement>)
Trait Implementations§
Source§impl Clone for ColorScale
impl Clone for ColorScale
Source§fn clone(&self) -> ColorScale
fn clone(&self) -> ColorScale
Returns a duplicate 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 ColorScale
impl Debug for ColorScale
Auto Trait Implementations§
impl Freeze for ColorScale
impl RefUnwindSafe for ColorScale
impl Send for ColorScale
impl Sync for ColorScale
impl Unpin for ColorScale
impl UnwindSafe for ColorScale
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