pub struct ButtonGroupConfig {
pub options: Vec<String>,
}Expand description
Button group configuration (radio-button style, horizontal layout) Value is stored as f32 index (0.0, 1.0, 2.0, …) Best for: Live performance with quick visual selection (2-6 options)
Fields§
§options: Vec<String>List of option labels
Trait Implementations§
Source§impl Clone for ButtonGroupConfig
impl Clone for ButtonGroupConfig
Source§fn clone(&self) -> ButtonGroupConfig
fn clone(&self) -> ButtonGroupConfig
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 moreAuto Trait Implementations§
impl Freeze for ButtonGroupConfig
impl RefUnwindSafe for ButtonGroupConfig
impl Send for ButtonGroupConfig
impl Sync for ButtonGroupConfig
impl Unpin for ButtonGroupConfig
impl UnwindSafe for ButtonGroupConfig
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