#[non_exhaustive]pub struct DefaultSliderControlOptions {
pub display_options: Option<SliderControlDisplayOptions>,
pub type: Option<SheetControlSliderType>,
pub maximum_value: f64,
pub minimum_value: f64,
pub step_size: f64,
}
Expand description
The default options that correspond to the Slider
filter control type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.display_options: Option<SliderControlDisplayOptions>
The display options of a control.
type: 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.
maximum_value: f64
The larger value that is displayed at the right of the slider.
minimum_value: f64
The smaller value that is displayed at the left of the slider.
step_size: f64
The number of increments that the slider bar is divided into.
Implementations§
source§impl DefaultSliderControlOptions
impl DefaultSliderControlOptions
sourcepub fn display_options(&self) -> Option<&SliderControlDisplayOptions>
pub fn display_options(&self) -> Option<&SliderControlDisplayOptions>
The display options of a control.
sourcepub fn type(&self) -> Option<&SheetControlSliderType>
pub fn 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) -> f64
pub fn maximum_value(&self) -> f64
The larger value that is displayed at the right of the slider.
sourcepub fn minimum_value(&self) -> f64
pub fn minimum_value(&self) -> f64
The smaller value that is displayed at the left of the slider.
source§impl DefaultSliderControlOptions
impl DefaultSliderControlOptions
sourcepub fn builder() -> DefaultSliderControlOptionsBuilder
pub fn builder() -> DefaultSliderControlOptionsBuilder
Creates a new builder-style object to manufacture DefaultSliderControlOptions
.
Trait Implementations§
source§impl Clone for DefaultSliderControlOptions
impl Clone for DefaultSliderControlOptions
source§fn clone(&self) -> DefaultSliderControlOptions
fn clone(&self) -> DefaultSliderControlOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DefaultSliderControlOptions
impl Debug for DefaultSliderControlOptions
impl StructuralPartialEq for DefaultSliderControlOptions
Auto Trait Implementations§
impl Freeze for DefaultSliderControlOptions
impl RefUnwindSafe for DefaultSliderControlOptions
impl Send for DefaultSliderControlOptions
impl Sync for DefaultSliderControlOptions
impl Unpin for DefaultSliderControlOptions
impl UnwindSafe for DefaultSliderControlOptions
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