pub struct PanelLook {
pub style: BoxStyle,
pub border: Rgb,
pub title: Rgb,
pub text: Rgb,
pub bg: Rgb,
}Expand description
How a GlyphBuffer::panel looks: its border’s style and colour, its
title’s colour, and the text colour and background it is cleared to.
Fields§
§style: BoxStyleThe border’s lines.
border: RgbThe border’s colour.
title: RgbThe title’s colour.
text: RgbThe colour the inside is cleared to, for text printed keeping it.
bg: RgbThe background, inside and under the border and the title.
Implementations§
Trait Implementations§
impl Copy for PanelLook
impl Eq for PanelLook
impl StructuralPartialEq for PanelLook
Auto Trait Implementations§
impl Freeze for PanelLook
impl RefUnwindSafe for PanelLook
impl Send for PanelLook
impl Sync for PanelLook
impl Unpin for PanelLook
impl UnsafeUnpin for PanelLook
impl UnwindSafe for PanelLook
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more