#[repr(u32)]
pub enum ColorRole {
Show 23 variants
WindowText,
Button,
Light,
Midlight,
Dark,
Mid,
Text,
BrightText,
ButtonText,
Base,
Window,
Shadow,
Highlight,
HighlightedText,
Link,
LinkVisited,
AlternateBase,
NoRole,
ToolTipBase,
ToolTipText,
NColorRoles,
Foreground,
Background,
}
Variants
WindowText
Button
Light
Midlight
Dark
Mid
Text
BrightText
ButtonText
Base
Window
Shadow
Highlight
HighlightedText
Link
LinkVisited
AlternateBase
NoRole
ToolTipBase
ToolTipText
NColorRoles
Foreground
Background
Auto Trait Implementations
impl RefUnwindSafe for ColorRole
impl Send for ColorRole
impl Sync for ColorRole
impl Unpin for ColorRole
impl UnwindSafe for ColorRole
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more