Struct prettytable::format::consts::FORMAT_BOX_CHARS[]

pub struct FORMAT_BOX_CHARS { /* fields omitted */ }

A table with borders and delimiters made with box characters

Example

┌────┬────┬────┐
│ t1 │ t2 │ t3 │
├────┼────┼────┤
│ 1  │ 1  │ 1  │
├────┼────┼────┤
│ 2  │ 2  │ 2  │
└────┴────┴────┘

Methods from __Deref<Target = TableFormat>

Return a tuple with left and right padding

Get global indentation in spaces used when rendering a table

Deprecated since 0.8.0

: Will become private in future release. See issue #87

Print a full line separator to out. col_width is a slice containing the width of each column. Returns the number of printed lines

Returns the character used to separate columns. pos specify if the separator is left/right final or internal to the table

Deprecated since 0.8.0

: Will become private in future release. See issue #87

Print a column separator or a table border

Trait Implementations

impl __Deref for FORMAT_BOX_CHARS

The resulting type after dereferencing.

Dereferences the value.

impl LazyStatic for FORMAT_BOX_CHARS

Auto Trait Implementations