glink/style/border_style
Types
pub type BorderStyle {
BorderStyle(
top_left: String,
top: String,
top_right: String,
right: String,
bottom_right: String,
bottom: String,
bottom_left: String,
left: String,
)
Single
Double
Round
Bold
SingleDouble
DoubleSingle
Classic
Arrow
}
Constructors
-
BorderStyle( top_left: String, top: String, top_right: String, right: String, bottom_right: String, bottom: String, bottom_left: String, left: String, )Style of the box border.
-
SingleExample
┌────┐ │ │ └────┘ -
DoubleExample
╔════╗ ║ ║ ╚════╝ -
RoundExample
╭────╮ │ │ ╰────╯ -
BoldExample
┏━━━━┓ ┃ ┃ ┗━━━━┛ -
SingleDoubleExample
╓────╖ ║ ║ ╙────╜ -
DoubleSingleExample
╒════╕ │ │ ╘════╛ -
ClassicExample
+----+ | | +----+ -
ArrowExample
↘↓↓↓↓↙ → ← ↗↑↑↑↑↖