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

Methods

impl Border
[src]

[src]

[src]

Trait Implementations

impl Debug for Border
[src]

[src]

Formats the value using the given formatter.

impl Clone for Border
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more