pub struct StylesToggleStyle {
pub active_color: Option<StylesColor>,
pub active_thumb_image: Option<Image>,
pub active_track_color: Option<StylesColor>,
pub focus_color: Option<StylesColor>,
pub hover_color: Option<StylesColor>,
pub inactive_thumb_color: Option<StylesColor>,
pub inactive_thumb_image: Option<Image>,
pub inactive_track_color: Option<StylesColor>,
pub material_tap_target_size: Option<StylesToggleStyleMaterialTapTargetSize>,
}Expand description
Element of type ToggleStyle
Fields§
§active_color: Option<StylesColor>§active_thumb_image: Option<Image>§active_track_color: Option<StylesColor>§focus_color: Option<StylesColor>§hover_color: Option<StylesColor>§inactive_thumb_color: Option<StylesColor>§inactive_thumb_image: Option<Image>§inactive_track_color: Option<StylesColor>§material_tap_target_size: Option<StylesToggleStyleMaterialTapTargetSize>Implementations§
Source§impl StylesToggleStyle
impl StylesToggleStyle
pub fn builder() -> StylesToggleStyle
Trait Implementations§
Source§impl Clone for StylesToggleStyle
impl Clone for StylesToggleStyle
Source§impl Debug for StylesToggleStyle
impl Debug for StylesToggleStyle
Source§impl<'de> Deserialize<'de> for StylesToggleStyle
impl<'de> Deserialize<'de> for StylesToggleStyle
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<&StylesToggleStyle> for StylesToggleStyle
impl From<&StylesToggleStyle> for StylesToggleStyle
Source§fn from(value: &StylesToggleStyle) -> Self
fn from(value: &StylesToggleStyle) -> Self
Converts to this type from the input type.
Source§impl From<StylesToggleStyle> for StylesToggleStyle
impl From<StylesToggleStyle> for StylesToggleStyle
Source§fn from(value: StylesToggleStyle) -> Self
fn from(value: StylesToggleStyle) -> Self
Converts to this type from the input type.
Source§impl Serialize for StylesToggleStyle
impl Serialize for StylesToggleStyle
Source§impl TryFrom<StylesToggleStyle> for StylesToggleStyle
impl TryFrom<StylesToggleStyle> for StylesToggleStyle
Auto Trait Implementations§
impl Freeze for StylesToggleStyle
impl RefUnwindSafe for StylesToggleStyle
impl Send for StylesToggleStyle
impl Sync for StylesToggleStyle
impl Unpin for StylesToggleStyle
impl UnsafeUnpin for StylesToggleStyle
impl UnwindSafe for StylesToggleStyle
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