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

Wheter views in a StackView should have shadows.

How view borders should be drawn.

What colors should be used through the application?

Methods

impl Theme
[src]

Sets a theme as active.

Don't use this directly. Uses Cursive::set_theme instead.

Trait Implementations

impl Debug for Theme
[src]

Formats the value using the given formatter.

impl Clone for Theme
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Theme
[src]

Returns the "default value" for a type. Read more