Struct prettytable::format::FormatBuilder[][src]

pub struct FormatBuilder { /* fields omitted */ }

A builder to create a TableFormat

Methods

impl FormatBuilder
[src]

Creates a new builder

Set left and right padding

Set the character used for internal column separation

Set the character used for table borders

Set the character used for left table border

Set the character used for right table border

Set a line separator format

Set separator format for multiple kind of line separators

Set global indentation in spaces used when rendering a table

Return the generated TableFormat

Trait Implementations

impl Into<TableFormat> for FormatBuilder
[src]

Performs the conversion.

impl From<TableFormat> for FormatBuilder
[src]

Performs the conversion.

Auto Trait Implementations