Struct prototty_common::Border
[−]
[src]
pub struct Border { pub title: Option<String>, pub padding: BorderPadding, pub chars: BorderChars, pub foreground_colour: Rgb24, pub background_colour: Rgb24, pub title_colour: Rgb24, pub bold_title: bool, pub underline_title: bool, pub bold_border: bool, }
Decorate another element with a border. It's possible to give the border a title, in which case the text appears in the top-left corner.
Fields
title: Option<String>
padding: BorderPadding
chars: BorderChars
foreground_colour: Rgb24
background_colour: Rgb24
title_colour: Rgb24
bold_title: bool
underline_title: bool
bold_border: bool