pub struct Theme {
pub shadow: bool,
pub borders: BorderStyle,
pub palette: Palette,
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more