Struct prettytable::format::consts::FORMAT_DEFAULT[]

pub struct FORMAT_DEFAULT { /* fields omitted */ }

Default table format

Example

+----+----+
| T1 | T2 |
+====+====+
| a  | b  |
+----+----+
| d  | c  |
+----+----+

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_DEFAULT

The resulting type after dereferencing.

Dereferences the value.

impl LazyStatic for FORMAT_DEFAULT

Auto Trait Implementations