pub struct ButtonGroupsBuilder { /* private fields */ }Expand description
Configuration handle returned by button_groups.
Implementations§
Source§impl ButtonGroupsBuilder
impl ButtonGroupsBuilder
Sourcepub fn size(&self, value: ButtonGroupsSize) -> Self
pub fn size(&self, value: ButtonGroupsSize) -> Self
Configure size before this component executes.
Sourcepub fn size_optional(&self, value: Option<ButtonGroupsSize>) -> Self
pub fn size_optional(&self, value: Option<ButtonGroupsSize>) -> Self
Configure size before this component executes.
Sourcepub fn style(&self, value: ButtonGroupsStyle) -> Self
pub fn style(&self, value: ButtonGroupsStyle) -> Self
Configure style before this component executes.
Sourcepub fn style_optional(&self, value: Option<ButtonGroupsStyle>) -> Self
pub fn style_optional(&self, value: Option<ButtonGroupsStyle>) -> Self
Configure style before this component executes.
Sourcepub fn variant(&self, value: ButtonVariant) -> Self
pub fn variant(&self, value: ButtonVariant) -> Self
Configure variant before this component executes.
Sourcepub fn variant_optional(&self, value: Option<ButtonVariant>) -> Self
pub fn variant_optional(&self, value: Option<ButtonVariant>) -> Self
Configure variant before this component executes.
Sourcepub fn presentation_states(&self, value: Vec<InteractionVisualState>) -> Self
pub fn presentation_states(&self, value: Vec<InteractionVisualState>) -> Self
Configure presentation_states before this component executes.
Sourcepub fn presentation_states_optional(
&self,
value: Option<Vec<InteractionVisualState>>,
) -> Self
pub fn presentation_states_optional( &self, value: Option<Vec<InteractionVisualState>>, ) -> Self
Configure presentation_states before this component executes.
Sourcepub fn shape_style(&self, value: ButtonShape) -> Self
pub fn shape_style(&self, value: ButtonShape) -> Self
Configure shape_style before this component executes.
Sourcepub fn shape_style_optional(&self, value: Option<ButtonShape>) -> Self
pub fn shape_style_optional(&self, value: Option<ButtonShape>) -> Self
Configure shape_style before this component executes.
Sourcepub fn expanded_ratio(&self, value: f32) -> Self
pub fn expanded_ratio(&self, value: f32) -> Self
Configure expanded_ratio before this component executes.
Sourcepub fn expanded_ratio_optional(&self, value: Option<f32>) -> Self
pub fn expanded_ratio_optional(&self, value: Option<f32>) -> Self
Configure expanded_ratio before this component executes.
Sourcepub fn selection_mode(&self, value: ButtonGroupsSelectionMode) -> Self
pub fn selection_mode(&self, value: ButtonGroupsSelectionMode) -> Self
Configure selection_mode before this component executes.
Sourcepub fn selection_mode_optional(
&self,
value: Option<ButtonGroupsSelectionMode>,
) -> Self
pub fn selection_mode_optional( &self, value: Option<ButtonGroupsSelectionMode>, ) -> Self
Configure selection_mode before this component executes.
Sourcepub fn modifier(&self, value: Modifier) -> Self
pub fn modifier(&self, value: Modifier) -> Self
Configure modifier before this component executes.
Sourcepub fn modifier_optional(&self, value: Option<Modifier>) -> Self
pub fn modifier_optional(&self, value: Option<Modifier>) -> Self
Configure modifier before this component executes.
Sourcepub fn state(&self, value: State<ButtonGroupsState>) -> Self
pub fn state(&self, value: State<ButtonGroupsState>) -> Self
Configure state before this component executes.
Sourcepub fn state_optional(&self, value: Option<State<ButtonGroupsState>>) -> Self
pub fn state_optional(&self, value: Option<State<ButtonGroupsState>>) -> Self
Configure state before this component executes.
Sourcepub fn enabled_optional(&self, value: Option<bool>) -> Self
pub fn enabled_optional(&self, value: Option<bool>) -> Self
Configure enabled before this component executes.
Sourcepub fn disabled_indices(&self, value: Vec<usize>) -> Self
pub fn disabled_indices(&self, value: Vec<usize>) -> Self
Configure disabled_indices before this component executes.
Sourcepub fn disabled_indices_optional(&self, value: Option<Vec<usize>>) -> Self
pub fn disabled_indices_optional(&self, value: Option<Vec<usize>>) -> Self
Configure disabled_indices before this component executes.
Sourcepub fn selection_required(&self, value: bool) -> Self
pub fn selection_required(&self, value: bool) -> Self
Configure selection_required before this component executes.
Sourcepub fn selection_required_optional(&self, value: Option<bool>) -> Self
pub fn selection_required_optional(&self, value: Option<bool>) -> Self
Configure selection_required before this component executes.
Auto Trait Implementations§
impl Freeze for ButtonGroupsBuilder
impl RefUnwindSafe for ButtonGroupsBuilder
impl Send for ButtonGroupsBuilder
impl Sync for ButtonGroupsBuilder
impl Unpin for ButtonGroupsBuilder
impl UnsafeUnpin for ButtonGroupsBuilder
impl UnwindSafe for ButtonGroupsBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.