pub struct RadioButtonDefaults;Expand description
Default values for radio button.
Implementations§
Source§impl RadioButtonDefaults
impl RadioButtonDefaults
pub const TOUCH_TARGET_SIZE: f32 = 40.0
pub const OUTER_RADIUS: f32 = 10.0
pub const DOT_RADIUS: f32 = 5.0
pub const STROKE_WIDTH: f32 = 2.0
pub fn selected_color() -> Color
pub fn unselected_color() -> Color
pub fn disabled_selected_color() -> Color
pub fn disabled_unselected_color() -> Color
pub fn state_colors_default() -> StateColors
Auto Trait Implementations§
impl Freeze for RadioButtonDefaults
impl RefUnwindSafe for RadioButtonDefaults
impl Send for RadioButtonDefaults
impl Sync for RadioButtonDefaults
impl Unpin for RadioButtonDefaults
impl UnsafeUnpin for RadioButtonDefaults
impl UnwindSafe for RadioButtonDefaults
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