Enum plotly::common::ColorScale
source · pub enum ColorScale {
Palette(ColorScalePalette),
Vector(Vec<ColorScaleElement>),
}Variants
Palette(ColorScalePalette)
Vector(Vec<ColorScaleElement>)
Trait Implementations
sourceimpl Clone for ColorScale
impl Clone for ColorScale
sourcefn clone(&self) -> ColorScale
fn clone(&self) -> ColorScale
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ColorScale
impl Debug for ColorScale
sourceimpl From<ColorScalePalette> for ColorScale
impl From<ColorScalePalette> for ColorScale
sourcefn from(src: ColorScalePalette) -> Self
fn from(src: ColorScalePalette) -> Self
Converts to this type from the input type.
sourceimpl Serialize for ColorScale
impl Serialize for ColorScale
Auto Trait Implementations
impl RefUnwindSafe for ColorScale
impl Send for ColorScale
impl Sync for ColorScale
impl Unpin for ColorScale
impl UnwindSafe for ColorScale
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more