#[non_exhaustive]pub struct DefaultSliderControlOptionsBuilder { /* private fields */ }
Expand description
A builder for DefaultSliderControlOptions
.
Implementations§
source§impl DefaultSliderControlOptionsBuilder
impl DefaultSliderControlOptionsBuilder
sourcepub fn display_options(self, input: SliderControlDisplayOptions) -> Self
pub fn display_options(self, input: SliderControlDisplayOptions) -> Self
The display options of a control.
sourcepub fn set_display_options(
self,
input: Option<SliderControlDisplayOptions>,
) -> Self
pub fn set_display_options( self, input: Option<SliderControlDisplayOptions>, ) -> Self
The display options of a control.
sourcepub fn get_display_options(&self) -> &Option<SliderControlDisplayOptions>
pub fn get_display_options(&self) -> &Option<SliderControlDisplayOptions>
The display options of a control.
sourcepub fn type(self, input: SheetControlSliderType) -> Self
pub fn type(self, input: SheetControlSliderType) -> Self
The type of the DefaultSliderControlOptions
. Choose one of the following options:
-
SINGLE_POINT
: Filter against(equals) a single data point. -
RANGE
: Filter data that is in a specified range.
sourcepub fn set_type(self, input: Option<SheetControlSliderType>) -> Self
pub fn set_type(self, input: Option<SheetControlSliderType>) -> Self
The type of the DefaultSliderControlOptions
. Choose one of the following options:
-
SINGLE_POINT
: Filter against(equals) a single data point. -
RANGE
: Filter data that is in a specified range.
sourcepub fn get_type(&self) -> &Option<SheetControlSliderType>
pub fn get_type(&self) -> &Option<SheetControlSliderType>
The type of the DefaultSliderControlOptions
. Choose one of the following options:
-
SINGLE_POINT
: Filter against(equals) a single data point. -
RANGE
: Filter data that is in a specified range.
sourcepub fn maximum_value(self, input: f64) -> Self
pub fn maximum_value(self, input: f64) -> Self
The larger value that is displayed at the right of the slider.
This field is required.sourcepub fn set_maximum_value(self, input: Option<f64>) -> Self
pub fn set_maximum_value(self, input: Option<f64>) -> Self
The larger value that is displayed at the right of the slider.
sourcepub fn get_maximum_value(&self) -> &Option<f64>
pub fn get_maximum_value(&self) -> &Option<f64>
The larger value that is displayed at the right of the slider.
sourcepub fn minimum_value(self, input: f64) -> Self
pub fn minimum_value(self, input: f64) -> Self
The smaller value that is displayed at the left of the slider.
This field is required.sourcepub fn set_minimum_value(self, input: Option<f64>) -> Self
pub fn set_minimum_value(self, input: Option<f64>) -> Self
The smaller value that is displayed at the left of the slider.
sourcepub fn get_minimum_value(&self) -> &Option<f64>
pub fn get_minimum_value(&self) -> &Option<f64>
The smaller value that is displayed at the left of the slider.
sourcepub fn step_size(self, input: f64) -> Self
pub fn step_size(self, input: f64) -> Self
The number of increments that the slider bar is divided into.
This field is required.sourcepub fn set_step_size(self, input: Option<f64>) -> Self
pub fn set_step_size(self, input: Option<f64>) -> Self
The number of increments that the slider bar is divided into.
sourcepub fn get_step_size(&self) -> &Option<f64>
pub fn get_step_size(&self) -> &Option<f64>
The number of increments that the slider bar is divided into.
sourcepub fn build(self) -> DefaultSliderControlOptions
pub fn build(self) -> DefaultSliderControlOptions
Consumes the builder and constructs a DefaultSliderControlOptions
.
Trait Implementations§
source§impl Clone for DefaultSliderControlOptionsBuilder
impl Clone for DefaultSliderControlOptionsBuilder
source§fn clone(&self) -> DefaultSliderControlOptionsBuilder
fn clone(&self) -> DefaultSliderControlOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DefaultSliderControlOptionsBuilder
impl Default for DefaultSliderControlOptionsBuilder
source§fn default() -> DefaultSliderControlOptionsBuilder
fn default() -> DefaultSliderControlOptionsBuilder
source§impl PartialEq for DefaultSliderControlOptionsBuilder
impl PartialEq for DefaultSliderControlOptionsBuilder
source§fn eq(&self, other: &DefaultSliderControlOptionsBuilder) -> bool
fn eq(&self, other: &DefaultSliderControlOptionsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DefaultSliderControlOptionsBuilder
Auto Trait Implementations§
impl Freeze for DefaultSliderControlOptionsBuilder
impl RefUnwindSafe for DefaultSliderControlOptionsBuilder
impl Send for DefaultSliderControlOptionsBuilder
impl Sync for DefaultSliderControlOptionsBuilder
impl Unpin for DefaultSliderControlOptionsBuilder
impl UnwindSafe for DefaultSliderControlOptionsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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