glink/style/border_style

Types

Style of the box border.

pub type BorderStyle {
  Single
  Double
  Round
  Bold
  SingleDouble
  DoubleSingle
  Classic
  Arrow
}

Constructors

  • Single

    Example

    ┌────┐
    │    │
    └────┘
    
  • Double

    Example

    ╔════╗
    ║    ║
    ╚════╝
    
  • Round

    Example

    ╭────╮
    │    │
    ╰────╯
    
  • Bold

    Example

    ┏━━━━┓
    ┃    ┃
    ┗━━━━┛
    
  • SingleDouble

    Example

    ╓────╖
    ║    ║
    ╙────╜
    
  • DoubleSingle

    Example

    ╒════╕
    │    │
    ╘════╛
    
  • Classic

    Example

    +----+
    |    |
    +----+
    
  • Arrow

    Example

    ↘↓↓↓↓↙
    →    ←
    ↗↑↑↑↑↖
    

Values

pub fn value(border_style: BorderStyle) -> String
Search Document