pub struct RadioButtonConfig {
pub modifier: Modifier,
pub enabled: bool,
pub selected_color: Color,
pub unselected_color: Color,
pub disabled_selected_color: Color,
pub disabled_unselected_color: Color,
pub state_colors: StateColors,
pub interaction_source: Option<MutableInteractionSource>,
}Expand description
Configuration for RadioButton.
Fields§
§modifier: Modifier§enabled: boolWhen false, renders disabled colors and does not respond to clicks.
selected_color: Color§unselected_color: Color§disabled_selected_color: Color§disabled_unselected_color: Color§state_colors: StateColors§interaction_source: Option<MutableInteractionSource>Trait Implementations§
Source§impl Clone for RadioButtonConfig
impl Clone for RadioButtonConfig
Source§fn clone(&self) -> RadioButtonConfig
fn clone(&self) -> RadioButtonConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RadioButtonConfig
impl Debug for RadioButtonConfig
Auto Trait Implementations§
impl !RefUnwindSafe for RadioButtonConfig
impl !Send for RadioButtonConfig
impl !Sync for RadioButtonConfig
impl !UnwindSafe for RadioButtonConfig
impl Freeze for RadioButtonConfig
impl Unpin for RadioButtonConfig
impl UnsafeUnpin for RadioButtonConfig
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