[−][src]Enum gnuplot::PaletteType
Specifies what sort of palette to use
Variants
Gray(f32)
Use a gray palette with a specified gamma
Use a palette with that uses a predefined formula for each color component. Each formula is identified by an integer between [-36, 36]. See gnuplot documentation, or use the pre-defined constants.
Use a cube helix palette, with a certain start (in radians), cycles, saturation and gamma.
A custom palette is specified by a sequence of 4-tuples (with at least one element). The first element is the grayscale value that is mapped to the remaining three elements which specify the red, green and blue components of the color. The grayscale values must be non-decreasing. All values must range from 0 to 1.
Trait Implementations
impl Clone for PaletteType
[src]
fn clone(&self) -> PaletteType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PaletteType
[src]
impl PartialEq<PaletteType> for PaletteType
[src]
fn eq(&self, other: &PaletteType) -> bool
[src]
fn ne(&self, other: &PaletteType) -> bool
[src]
impl PartialOrd<PaletteType> for PaletteType
[src]
fn partial_cmp(&self, other: &PaletteType) -> Option<Ordering>
[src]
fn lt(&self, other: &PaletteType) -> bool
[src]
fn le(&self, other: &PaletteType) -> bool
[src]
fn gt(&self, other: &PaletteType) -> bool
[src]
fn ge(&self, other: &PaletteType) -> bool
[src]
impl StructuralPartialEq for PaletteType
[src]
Auto Trait Implementations
impl RefUnwindSafe for PaletteType
impl Send for PaletteType
impl Sync for PaletteType
impl Unpin for PaletteType
impl UnwindSafe for PaletteType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,