pub struct GenerateRendererParams { /* private fields */ }Expand description
Parameters for generating a classification renderer.
Use GenerateRendererParams::builder() to construct instances.
Implementations§
Source§impl GenerateRendererParams
Auto-generated by derive_getters::Getters.
impl GenerateRendererParams
Auto-generated by derive_getters::Getters.
Sourcepub fn classification_field(&self) -> &String
pub fn classification_field(&self) -> &String
Field to classify (REQUIRED).
Sourcepub fn classification_method(&self) -> &String
pub fn classification_method(&self) -> &String
Classification method: “equal-interval”, “natural-breaks”, “quantile”, “standard-deviation”.
Sourcepub fn break_count(&self) -> &Option<i32>
pub fn break_count(&self) -> &Option<i32>
Number of classes/breaks.
Sourcepub fn normalization_field(&self) -> &Option<String>
pub fn normalization_field(&self) -> &Option<String>
Normalization field.
Sourcepub fn normalization_type(&self) -> &Option<String>
pub fn normalization_type(&self) -> &Option<String>
Normalization type: “field”, “log”, “percent-of-total”.
Sourcepub fn base_symbol(&self) -> &Option<String>
pub fn base_symbol(&self) -> &Option<String>
Base symbol definition (as JSON string).
Sourcepub fn color_ramp(&self) -> &Option<Value>
pub fn color_ramp(&self) -> &Option<Value>
Color ramp definition.
Source§impl GenerateRendererParams
impl GenerateRendererParams
Sourcepub fn builder() -> GenerateRendererParamsBuilder
pub fn builder() -> GenerateRendererParamsBuilder
Creates a builder for GenerateRendererParams.
Trait Implementations§
Source§impl Clone for GenerateRendererParams
impl Clone for GenerateRendererParams
Source§fn clone(&self) -> GenerateRendererParams
fn clone(&self) -> GenerateRendererParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenerateRendererParams
impl Debug for GenerateRendererParams
Auto Trait Implementations§
impl Freeze for GenerateRendererParams
impl RefUnwindSafe for GenerateRendererParams
impl Send for GenerateRendererParams
impl Sync for GenerateRendererParams
impl Unpin for GenerateRendererParams
impl UnwindSafe for GenerateRendererParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more