[−][src]Struct vega_lite_3::SchemeParams
Fields
count: Option<f64>
The number of colors to use in the scheme. This can be useful for scale types such as
"quantize"
, which use the length of the scale range to determine the number of discrete
bins for the scale domain.
extent: Option<Vec<f64>>
The extent of the color range to use. For example [0.2, 1]
will rescale the color
scheme such that color values in the range [0, 0.2) are excluded from the scheme.
name: Option<String>
A color scheme name for ordinal scales (e.g., "category10"
or "blues"
).
For the full list of supported schemes, please refer to the Vega Scheme reference.
Trait Implementations
impl Clone for SchemeParams
[src]
fn clone(&self) -> SchemeParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SchemeParams
[src]
impl Default for SchemeParams
[src]
fn default() -> SchemeParams
[src]
impl<'de> Deserialize<'de> for SchemeParams
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SchemeParams> for Scheme
[src]
fn from(original: SchemeParams) -> Scheme
[src]
impl Serialize for SchemeParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for SchemeParams
impl Send for SchemeParams
impl Sync for SchemeParams
impl Unpin for SchemeParams
impl UnwindSafe for SchemeParams
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> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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>,