Struct prototty_common::Border
[−]
[src]
pub struct Border { pub title: Option<String>, pub padding: BorderPadding, pub chars: BorderChars, pub foreground_colour: Colour, pub background_colour: Colour, pub title_colour: Colour, 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: Colour
background_colour: Colour
title_colour: Colour
bold_title: bool
underline_title: bool
bold_border: bool