pub struct StylesRadioStyle {
pub active_color: Option<StylesColor>,
pub focus_color: Option<StylesColor>,
pub hovercolor: Option<StylesColor>,
pub splash_radius: Option<f64>,
pub unselected_color: Option<StylesColor>,
pub visual_density: Option<StylesVisualDensity>,
}Expand description
Element of type RadioStyle
Fields§
§active_color: Option<StylesColor>Color of the active radio button
focus_color: Option<StylesColor>Color of the radio when it is focused
hovercolor: Option<StylesColor>Color when the mouse is over the element
splash_radius: Option<f64>§unselected_color: Option<StylesColor>Color when the radio is not selected
visual_density: Option<StylesVisualDensity>Implementations§
Source§impl StylesRadioStyle
impl StylesRadioStyle
pub fn builder() -> StylesRadioStyle
Trait Implementations§
Source§impl Clone for StylesRadioStyle
impl Clone for StylesRadioStyle
Source§impl Debug for StylesRadioStyle
impl Debug for StylesRadioStyle
Source§impl<'de> Deserialize<'de> for StylesRadioStyle
impl<'de> Deserialize<'de> for StylesRadioStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&StylesRadioStyle> for StylesRadioStyle
impl From<&StylesRadioStyle> for StylesRadioStyle
Source§fn from(value: &StylesRadioStyle) -> Self
fn from(value: &StylesRadioStyle) -> Self
Converts to this type from the input type.
Source§impl From<StylesRadioStyle> for StylesRadioStyle
impl From<StylesRadioStyle> for StylesRadioStyle
Source§fn from(value: StylesRadioStyle) -> Self
fn from(value: StylesRadioStyle) -> Self
Converts to this type from the input type.
Source§impl Serialize for StylesRadioStyle
impl Serialize for StylesRadioStyle
Source§impl TryFrom<StylesRadioStyle> for StylesRadioStyle
impl TryFrom<StylesRadioStyle> for StylesRadioStyle
Auto Trait Implementations§
impl Freeze for StylesRadioStyle
impl RefUnwindSafe for StylesRadioStyle
impl Send for StylesRadioStyle
impl Sync for StylesRadioStyle
impl Unpin for StylesRadioStyle
impl UnsafeUnpin for StylesRadioStyle
impl UnwindSafe for StylesRadioStyle
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