#[non_exhaustive]pub struct ParameterSliderControlBuilder { /* private fields */ }Expand description
A builder for ParameterSliderControl.
Implementations§
source§impl ParameterSliderControlBuilder
impl ParameterSliderControlBuilder
sourcepub fn parameter_control_id(self, input: impl Into<String>) -> Self
pub fn parameter_control_id(self, input: impl Into<String>) -> Self
The ID of the ParameterSliderControl.
sourcepub fn set_parameter_control_id(self, input: Option<String>) -> Self
pub fn set_parameter_control_id(self, input: Option<String>) -> Self
The ID of the ParameterSliderControl.
sourcepub fn source_parameter_name(self, input: impl Into<String>) -> Self
pub fn source_parameter_name(self, input: impl Into<String>) -> Self
The source parameter name of the ParameterSliderControl.
sourcepub fn set_source_parameter_name(self, input: Option<String>) -> Self
pub fn set_source_parameter_name(self, input: Option<String>) -> Self
The source parameter name of the ParameterSliderControl.
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 maximum_value(self, input: f64) -> Self
pub fn maximum_value(self, input: f64) -> Self
The smaller value that is displayed at the left of the slider.
sourcepub fn set_maximum_value(self, input: Option<f64>) -> Self
pub fn set_maximum_value(self, input: Option<f64>) -> Self
The smaller value that is displayed at the left of the slider.
sourcepub fn minimum_value(self, input: f64) -> Self
pub fn minimum_value(self, input: f64) -> Self
The larger value that is displayed at the right of the slider.
sourcepub fn set_minimum_value(self, input: Option<f64>) -> Self
pub fn set_minimum_value(self, input: Option<f64>) -> Self
The larger value that is displayed at the right 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.
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 build(self) -> ParameterSliderControl
pub fn build(self) -> ParameterSliderControl
Consumes the builder and constructs a ParameterSliderControl.
Trait Implementations§
source§impl Clone for ParameterSliderControlBuilder
impl Clone for ParameterSliderControlBuilder
source§fn clone(&self) -> ParameterSliderControlBuilder
fn clone(&self) -> ParameterSliderControlBuilder
Returns a copy 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 Default for ParameterSliderControlBuilder
impl Default for ParameterSliderControlBuilder
source§fn default() -> ParameterSliderControlBuilder
fn default() -> ParameterSliderControlBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ParameterSliderControlBuilder> for ParameterSliderControlBuilder
impl PartialEq<ParameterSliderControlBuilder> for ParameterSliderControlBuilder
source§fn eq(&self, other: &ParameterSliderControlBuilder) -> bool
fn eq(&self, other: &ParameterSliderControlBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ParameterSliderControlBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ParameterSliderControlBuilder
impl Send for ParameterSliderControlBuilder
impl Sync for ParameterSliderControlBuilder
impl Unpin for ParameterSliderControlBuilder
impl UnwindSafe for ParameterSliderControlBuilder
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