Enum clutter::StaticColor[][src]

#[non_exhaustive]
pub enum StaticColor {
Show variants White, Black, Red, DarkRed, Green, DarkGreen, Blue, DarkBlue, Cyan, DarkCyan, Magenta, DarkMagenta, Yellow, DarkYellow, Gray, DarkGray, LightGray, Butter, ButterLight, ButterDark, Orange, OrangeLight, OrangeDark, Chocolate, ChocolateLight, ChocolateDark, Chameleon, ChameleonLight, ChameleonDark, SkyBlue, SkyBlueLight, SkyBlueDark, Plum, PlumLight, PlumDark, ScarletRed, ScarletRedLight, ScarletRedDark, Aluminium1, Aluminium2, Aluminium3, Aluminium4, Aluminium5, Aluminium6, Transparent, // some variants omitted
}

Named colors, for accessing global colors defined by Clutter

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
White

White color (ffffffff)

Black

Black color (000000ff)

Red

Red color (ff0000ff)

DarkRed

Dark red color (800000ff)

Green

Green color (00ff00ff)

DarkGreen

Dark green color (008000ff)

Blue

Blue color (0000ffff)

DarkBlue

Dark blue color (000080ff)

Cyan

Cyan color (00ffffff)

DarkCyan

Dark cyan color (008080ff)

Magenta

Magenta color (ff00ffff)

DarkMagenta

Dark magenta color (800080ff)

Yellow

Yellow color (ffff00ff)

DarkYellow

Dark yellow color (808000ff)

Gray

Gray color (a0a0a4ff)

DarkGray

Dark Gray color (808080ff)

LightGray

Light gray color (c0c0c0ff)

Butter

Butter color (edd400ff)

ButterLight

Light butter color (fce94fff)

ButterDark

Dark butter color (c4a000ff)

Orange

Orange color (f57900ff)

OrangeLight

Light orange color (fcaf3fff)

OrangeDark

Dark orange color (ce5c00ff)

Chocolate

Chocolate color (c17d11ff)

ChocolateLight

Light chocolate color (e9b96eff)

ChocolateDark

Dark chocolate color (8f5902ff)

Chameleon

Chameleon color (73d216ff)

ChameleonLight

Light chameleon color (8ae234ff)

ChameleonDark

Dark chameleon color (4e9a06ff)

SkyBlue

Sky color (3465a4ff)

SkyBlueLight

Light sky color (729fcfff)

SkyBlueDark

Dark sky color (204a87ff)

Plum

Plum color (75507bff)

PlumLight

Light plum color (ad7fa8ff)

PlumDark

Dark plum color (5c3566ff)

ScarletRed

Scarlet red color (cc0000ff)

ScarletRedLight

Light scarlet red color (ef2929ff)

ScarletRedDark

Dark scarlet red color (a40000ff)

Aluminium1

Aluminium, first variant (eeeeecff)

Aluminium2

Aluminium, second variant (d3d7cfff)

Aluminium3

Aluminium, third variant (babdb6ff)

Aluminium4

Aluminium, fourth variant (888a85ff)

Aluminium5

Aluminium, fifth variant (555753ff)

Aluminium6

Aluminium, sixth variant (2e3436ff)

Transparent

Transparent color (00000000)

Trait Implementations

impl Clone for StaticColor[src]

impl Copy for StaticColor[src]

impl Debug for StaticColor[src]

impl Display for StaticColor[src]

impl Eq for StaticColor[src]

impl<'a> FromValue<'a> for StaticColor[src]

impl<'a> FromValueOptional<'a> for StaticColor[src]

impl Hash for StaticColor[src]

impl Ord for StaticColor[src]

impl PartialEq<StaticColor> for StaticColor[src]

impl PartialOrd<StaticColor> for StaticColor[src]

impl SetValue for StaticColor[src]

impl StaticType for StaticColor[src]

impl StructuralEq for StaticColor[src]

impl StructuralPartialEq for StaticColor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.