Struct google_fusiontables2::StyleFunctionGradient [−][src]
pub struct StyleFunctionGradient { pub max: Option<f64>, pub colors: Option<Vec<StyleFunctionGradientColors>>, pub min: Option<f64>, }
Gradient function that interpolates a range of colors based on column value.
This type is not used in any activity, and only used as part of another schema.
Fields
max: Option<f64>
Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].
colors: Option<Vec<StyleFunctionGradientColors>>
Array with two or more colors.
min: Option<f64>
Lower-end of the interpolation range: rows with this value will be assigned to colors[0].
Trait Implementations
impl Default for StyleFunctionGradient
[src]
impl Default for StyleFunctionGradient
fn default() -> StyleFunctionGradient
[src]
fn default() -> StyleFunctionGradient
Returns the "default value" for a type. Read more
impl Clone for StyleFunctionGradient
[src]
impl Clone for StyleFunctionGradient
fn clone(&self) -> StyleFunctionGradient
[src]
fn clone(&self) -> StyleFunctionGradient
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for StyleFunctionGradient
[src]
impl Debug for StyleFunctionGradient
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl NestedType for StyleFunctionGradient
[src]
impl NestedType for StyleFunctionGradient
impl Part for StyleFunctionGradient
[src]
impl Part for StyleFunctionGradient
Auto Trait Implementations
impl Send for StyleFunctionGradient
impl Send for StyleFunctionGradient
impl Sync for StyleFunctionGradient
impl Sync for StyleFunctionGradient