Enum cursive::theme::ColorStyle
[−]
[src]
pub enum ColorStyle { Background, Shadow, Primary, Secondary, Tertiary, TitlePrimary, TitleSecondary, Highlight, HighlightInactive, }
Possible color style for a cell.
Represents a color pair role to use when printing something.
The current theme will assign each role a foreground and background color.
Variants
Background
Application background, where no view is present.
Shadow
Color used by view shadows. Only background matters.
Primary
Main text with default background.
Secondary
Secondary text color, with default background.
Tertiary
Tertiary text color, with default background.
TitlePrimary
Title text color with default background.
TitleSecondary
Alternative color for a title.
Highlight
Alternate text with highlight background.
HighlightInactive
Highlight color for inactive views (not in focus).
Methods
impl ColorStyle
[src]
Trait Implementations
impl Copy for ColorStyle
[src]
impl Clone for ColorStyle
[src]
fn clone(&self) -> ColorStyle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more