[−][src]Enum vega_lite_4::ScaleInterpolate
The interpolation method for range values. By default, a general interpolator for
numbers, dates, strings and colors (in HCL space) is used. For color ranges, this
property allows interpolation in alternative color spaces. Legal values include rgb
,
hsl
, hsl-long
, lab
, hcl
, hcl-long
, cubehelix
and cubehelix-long
('-long'
variants use longer paths in polar coordinate spaces). If object-valued, this property
accepts an object with a string-valued type property and an optional numeric gamma
property applicable to rgb and cubehelix interpolators. For more, see the d3-interpolate
documentation.
- Default value:
hcl
Variants
Enum(ScaleInterpolateEnum)
ExprRef(ExprRef)
Trait Implementations
impl Clone for ScaleInterpolate
[src]
pub fn clone(&self) -> ScaleInterpolate
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScaleInterpolate
[src]
impl<'de> Deserialize<'de> for ScaleInterpolate
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<ExprRef> for ScaleInterpolate
[src]
pub fn from(original: ExprRef) -> ScaleInterpolate
[src]
impl From<ScaleInterpolateEnum> for ScaleInterpolate
[src]
pub fn from(original: ScaleInterpolateEnum) -> ScaleInterpolate
[src]
impl Serialize for ScaleInterpolate
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScaleInterpolate
[src]
impl Send for ScaleInterpolate
[src]
impl Sync for ScaleInterpolate
[src]
impl Unpin for ScaleInterpolate
[src]
impl UnwindSafe for ScaleInterpolate
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,