#[repr(u32)]pub enum ControlColor {
Show 15 variants
Max = 14,
ScrollThumb = 13,
ScrollBase = 12,
BaseFocus = 11,
BaseHover = 10,
Base = 9,
ButtonFocus = 8,
ButtonHover = 7,
Button = 6,
PanelBG = 5,
TitleText = 4,
TitleBG = 3,
WindowBG = 2,
Border = 1,
Text = 0,
}Expand description
Identifiers for each of the built-in style colors.
Variants§
Max = 14
Number of color entries in Style::colors.
ScrollThumb = 13
Thumb of scrollbars.
ScrollBase = 12
Base frame of scrollbars.
BaseFocus = 11
Base color for focused widgets.
BaseHover = 10
Base color while the pointer hovers the widget.
Base = 9
Default base color.
ButtonFocus = 8
Button color while the widget is focused.
ButtonHover = 7
Button color while the pointer hovers the widget.
Button = 6
Default button color.
PanelBG = 5
Panel background color.
TitleText = 4
Window title text color.
TitleBG = 3
Window title background color.
WindowBG = 2
Window background color.
Border = 1
Outline/border color.
Text = 0
Default text color.
Implementations§
Trait Implementations§
Source§impl Clone for ControlColor
impl Clone for ControlColor
Source§fn clone(&self) -> ControlColor
fn clone(&self) -> ControlColor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for ControlColor
impl PartialEq for ControlColor
impl Copy for ControlColor
impl StructuralPartialEq for ControlColor
Auto Trait Implementations§
impl Freeze for ControlColor
impl RefUnwindSafe for ControlColor
impl Send for ControlColor
impl Sync for ControlColor
impl Unpin for ControlColor
impl UnwindSafe for ControlColor
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