[][src]Enum boxx::BorderStyle

pub enum BorderStyle {
    Single,
    Double,
    Round,
    Bold,
    SingleDouble,
    DoubleSingle,
    Classic,
    Custom(BorderComponents),
}

Different styles for the border of a Boxx.

Variants

Single

Border with a single line:

┌───┐
│box│
└───┘
Double

Border with a double line:

╔═══╗
║box║
╚═══╝
Round

Border with a rounded line:

╭───╮
│box│
╰───╯
Bold

Border with a bolded single line:

┏━━━┓
┃box┃
┗━━━┛
SingleDouble

Border with a single line on the top and bottom and a double line on the left and right:

╓───╖
║box║
╙───╜
DoubleSingle

Border with a double line on the top and bottom and a single line on the left and right:

╒═══╕
│box│
╘═══╛
Classic

Border with + on the corners, | on the left and right and - on the top:

+---+
|box|
+---+

Border with custom BorderComponents.

Trait Implementations

impl Clone for BorderStyle[src]

impl Debug for BorderStyle[src]

impl PartialEq<BorderStyle> for BorderStyle[src]

impl StructuralPartialEq for BorderStyle[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.