Struct cursive::theme::Theme
[−]
[src]
pub struct Theme {
pub shadow: bool,
pub borders: Option<BorderStyle>,
pub colors: Palette,
}Represents the style a Cursive application will use.
Fields
shadow: bool
Wheter views in a StackView should have shadows.
borders: Option<BorderStyle>
How view borders should be drawn.
colors: Palette
What colors should be used through the application?
Methods
impl Theme[src]
fn activate(&self, backend: &mut Concrete)
Sets a theme as active.
Don't use this directly. Uses Cursive::set_theme instead.
Trait Implementations
impl Clone for Theme[src]
fn clone(&self) -> Theme
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