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

pub struct TableFormat { /* fields omitted */ }

Contains the table formatting rules

Methods

impl TableFormat
[src]

[src]

Create a new empty TableFormat.

[src]

Return a tuple with left and right padding

[src]

Set left and right padding

[src]

Set the character used for internal column separation

[src]

Set the character used for table borders

[src]

Set a line separator

[src]

Set format for multiple kind of line separator

[src]

Set global indentation in spaces used when rendering a table

[src]

Get global indentation in spaces used when rendering a table

[src]

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

[src]

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

[src]

Print a column separator or a table border

Trait Implementations

impl Clone for TableFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TableFormat
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for TableFormat
[src]

impl Hash for TableFormat
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for TableFormat
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for TableFormat
[src]

impl Default for TableFormat
[src]

[src]

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

impl Into<TableFormat> for FormatBuilder
[src]

[src]

Performs the conversion.

impl From<TableFormat> for FormatBuilder
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for TableFormat

impl Sync for TableFormat