[][src]Enum gnuplot::PaletteType

pub enum PaletteType {
    Gray(f32),
    Formula(i32i32i32),
    CubeHelix(f32f32f32f32),
}

Specifies what sort of palette to use

Variants

Gray(f32)

Use a gray palette with a specified gamma

Formula(i32i32i32)

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.

CubeHelix(f32f32f32f32)

Use a cube helix palette, with a certain start (in radians), cycles, saturation and gamma.

Trait Implementations

impl Clone for PaletteType[src]

impl PartialOrd<PaletteType> for PaletteType[src]

impl PartialEq<PaletteType> for PaletteType[src]

impl Copy for PaletteType[src]

impl Debug for PaletteType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]