[][src]Enum vega_lite_3::ScaleRange

pub enum ScaleRange {
    String(String),
    UnionArray(Vec<RangeRange>),
}

The range of the scale. One of:

Notes:

  1. For color scales you can also specify a color scheme instead of range.

  2. Any directly specified range for x and y channels will be ignored. Range can be customized via the view's corresponding size (width and height) or via range steps and paddings properties for band and point scales.

Variants

String(String)
UnionArray(Vec<RangeRange>)

Trait Implementations

impl Clone for ScaleRange[src]

impl Debug for ScaleRange[src]

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

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

impl From<String> for ScaleRange[src]

impl From<Vec<RangeRange>> for ScaleRange[src]

impl Serialize for ScaleRange[src]

Auto Trait Implementations

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.