[][src]Enum vega_lite_3::Scheme

pub enum Scheme {
    SchemeParams(SchemeParams),
    String(String),
}

A string indicating a color scheme name (e.g., "category10" or "blues") or a scheme parameter object.

Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with color scales.

For the full list of supported schemes, please refer to the Vega Scheme reference.

Variants

SchemeParams(SchemeParams)
String(String)

Trait Implementations

impl Clone for Scheme[src]

impl Debug for Scheme[src]

impl<'de> Deserialize<'de> for Scheme[src]

impl<'_> From<&'_ str> for Scheme[src]

impl From<SchemeParams> for Scheme[src]

impl From<String> for Scheme[src]

impl Serialize for Scheme[src]

Auto Trait Implementations

impl RefUnwindSafe for Scheme

impl Send for Scheme

impl Sync for Scheme

impl Unpin for Scheme

impl UnwindSafe for Scheme

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.