Enum rute::auto::palette::ColorRole

source ·
#[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

LinkVisited

AlternateBase

NoRole

ToolTipBase

ToolTipText

NColorRoles

Foreground

Background

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.