Enum cursive::theme::PaletteColor [] [src]

pub enum PaletteColor {
    Background,
    Shadow,
    View,
    Primary,
    Secondary,
    Tertiary,
    TitlePrimary,
    TitleSecondary,
    Highlight,
    HighlightInactive,
}

Color entry in a palette.

Each ColorRole is used for a specific role in a default application.

Variants

Color used for the application background.

Color used for View shadows.

Color used for View backgrounds.

Primary color used for the text.

Secondary color used for the text.

Tertiary color used for the text.

Primary color used for title text.

Secondary color used for title text.

Color used for highlighting text.

Color used for highlighting inactive text.

Methods

impl PaletteColor
[src]

[src]

Given a palette, resolve self to a concrete color.

Trait Implementations

impl From<PaletteColor> for Style
[src]

[src]

Performs the conversion.

impl From<PaletteColor> for ColorStyle
[src]

[src]

Performs the conversion.

impl From<PaletteColor> for ColorType
[src]

[src]

Performs the conversion.

impl Clone for PaletteColor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for PaletteColor
[src]

impl Debug for PaletteColor
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for PaletteColor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for PaletteColor
[src]

impl Hash for PaletteColor
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<V> Internal<V> for PaletteColor
[src]

Representation of an enum map for type V, usually an array.

Important traits for &'a mut [u8]
[src]

Important traits for &'a mut [u8]
[src]

[src]

[src]

[src]

Auto Trait Implementations

impl Send for PaletteColor

impl Sync for PaletteColor