Struct prettytable::format::TableFormat [] [src]

pub struct TableFormat {
    // some fields omitted
}

Contains the table formatting rules

Methods

impl TableFormat
[src]

Create a new empty TableFormat.

Return a tuple with left and right padding

Set left and right padding

Set the character used for internal column separation

Set the character used for table borders

Set a line separator

Set format for multiple kind of line separator

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

Print a column separator or a table border

Trait Implementations

impl Clone for TableFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TableFormat
[src]

Formats the value using the given formatter.

impl Copy for TableFormat
[src]

impl Default for TableFormat
[src]

Returns the "default value" for a type. Read more