Struct cursive::theme::Theme [−][src]
pub struct Theme { pub shadow: bool, pub borders: BorderStyle, pub palette: Palette, }
Represents the style a Cursive application will use.
Fields
shadow: bool
Whether views in a StackView should have shadows.
borders: BorderStyle
How view borders should be drawn.
palette: Palette
What colors should be used through the application?
Trait Implementations
impl Clone for Theme
[src]
impl Clone for Theme
fn clone(&self) -> Theme
[src]
fn clone(&self) -> Theme
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Theme
[src]
impl Debug for Theme
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Theme
[src]
impl Default for Theme