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

pub struct TableFormat { /* 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

Set global indentation in spaces used when rendering a table

Get global indentation in spaces used when rendering a table

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

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

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. Read more

impl Copy for TableFormat
[src]

impl Hash for TableFormat
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for TableFormat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TableFormat
[src]

impl Default for TableFormat
[src]

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

impl Into<TableFormat> for FormatBuilder
[src]

Performs the conversion.

impl From<TableFormat> for FormatBuilder
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for TableFormat

impl Sync for TableFormat