pub struct ComponentStyleSlots {Show 41 fields
pub button: Option<SharedButtonStyle>,
pub split_button: Option<SharedSplitButtonStyle>,
pub splitter: Option<SharedSplitterStyle>,
pub icon_button: Option<SharedIconButtonStyle>,
pub toggle: Option<SharedToggleStyle>,
pub checkbox: Option<SharedCheckboxStyle>,
pub radio: Option<SharedRadioStyle>,
pub radio_tile: Option<SharedRadioTileStyle>,
pub slider: Option<SharedSliderStyle>,
pub text_input: Option<SharedTextInputStyle>,
pub combo_box: Option<SharedComboBoxStyle>,
pub menu_item: Option<SharedMenuItemStyle>,
pub panel: Option<SharedPanelStyle>,
pub card: Option<SharedCardStyle>,
pub chart: Option<SharedChartStyle>,
pub popover: Option<SharedPopoverStyle>,
pub tooltip: Option<SharedTooltipStyle>,
pub scroll_bar: Option<SharedScrollBarStyle>,
pub standard_item: Option<SharedStandardItemStyle>,
pub tab: Option<SharedTabStyle>,
pub dialog: Option<SharedDialogStyle>,
pub snackbar: Option<SharedSnackbarStyle>,
pub toast: Option<SharedToastStyle>,
pub banner: Option<SharedBannerStyle>,
pub badge: Option<SharedBadgeStyle>,
pub progress_bar: Option<SharedProgressBarStyle>,
pub link: Option<SharedLinkStyle>,
pub segmented_control: Option<SharedSegmentedControlStyle>,
pub avatar: Option<SharedAvatarStyle>,
pub calendar: Option<SharedCalendarStyle>,
pub color_picker: Option<SharedColorPickerStyle>,
pub spin_box: Option<SharedSpinBoxStyle>,
pub date_edit: Option<SharedDateEditStyle>,
pub search_field: Option<SharedSearchFieldStyle>,
pub rich_text_editor: Option<SharedRichTextEditorStyle>,
pub table: Option<SharedTableStyle>,
pub list_container: Option<SharedListContainerStyle>,
pub drop_zone: Option<SharedDropZoneStyle>,
pub drop_target: Option<SharedDropTargetStyle>,
pub grid_view: Option<SharedGridViewStyle>,
pub web_view: Option<SharedWebViewStyle>,
}Expand description
Typed slot bag living on crate::styles::Theme. One slot per
themable widget. None means “use the widget’s local default
Recipe*Style”; Some(rc) installs the override theme-wide.
Fields§
§splitter: Option<SharedSplitterStyle>§toggle: Option<SharedToggleStyle>§checkbox: Option<SharedCheckboxStyle>§radio: Option<SharedRadioStyle>§radio_tile: Option<SharedRadioTileStyle>§slider: Option<SharedSliderStyle>§text_input: Option<SharedTextInputStyle>§combo_box: Option<SharedComboBoxStyle>§panel: Option<SharedPanelStyle>§card: Option<SharedCardStyle>§chart: Option<SharedChartStyle>§popover: Option<SharedPopoverStyle>§tooltip: Option<SharedTooltipStyle>§scroll_bar: Option<SharedScrollBarStyle>§standard_item: Option<SharedStandardItemStyle>§tab: Option<SharedTabStyle>§dialog: Option<SharedDialogStyle>§snackbar: Option<SharedSnackbarStyle>§toast: Option<SharedToastStyle>§badge: Option<SharedBadgeStyle>§progress_bar: Option<SharedProgressBarStyle>§link: Option<SharedLinkStyle>§segmented_control: Option<SharedSegmentedControlStyle>§avatar: Option<SharedAvatarStyle>§calendar: Option<SharedCalendarStyle>§color_picker: Option<SharedColorPickerStyle>§spin_box: Option<SharedSpinBoxStyle>§date_edit: Option<SharedDateEditStyle>§search_field: Option<SharedSearchFieldStyle>§rich_text_editor: Option<SharedRichTextEditorStyle>§table: Option<SharedTableStyle>§list_container: Option<SharedListContainerStyle>§drop_zone: Option<SharedDropZoneStyle>§drop_target: Option<SharedDropTargetStyle>§grid_view: Option<SharedGridViewStyle>§web_view: Option<SharedWebViewStyle>Trait Implementations§
Source§impl Clone for ComponentStyleSlots
impl Clone for ComponentStyleSlots
Source§fn clone(&self) -> ComponentStyleSlots
fn clone(&self) -> ComponentStyleSlots
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 ComponentStyleSlots
impl Debug for ComponentStyleSlots
Source§impl Default for ComponentStyleSlots
impl Default for ComponentStyleSlots
Source§fn default() -> ComponentStyleSlots
fn default() -> ComponentStyleSlots
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ComponentStyleSlots
impl !Send for ComponentStyleSlots
impl !Sync for ComponentStyleSlots
impl !UnwindSafe for ComponentStyleSlots
impl Freeze for ComponentStyleSlots
impl Unpin for ComponentStyleSlots
impl UnsafeUnpin for ComponentStyleSlots
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