[][src]Struct prototty_decorator::BorderChars

pub struct BorderChars {
    pub top: char,
    pub bottom: char,
    pub left: char,
    pub right: char,
    pub top_left: char,
    pub top_right: char,
    pub bottom_left: char,
    pub bottom_right: char,
    pub before_title: char,
    pub after_title: char,
}

The characters comprising a border. By default, borders are made of unicode box-drawing characters, but they can be changed to arbitrary characters via this struct.

Fields

top: charbottom: charleft: charright: chartop_left: chartop_right: charbottom_left: charbottom_right: charbefore_title: charafter_title: char

Methods

impl BorderChars[src]

pub fn single() -> Self[src]

Trait Implementations

impl Clone for BorderChars[src]

impl Copy for BorderChars[src]

impl Default for BorderChars[src]

impl Debug for BorderChars[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]