pub struct FormatBuilder { /* private fields */ }
Expand description

A builder to create a TableFormat

Implementations

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

Converts to this type from the input type.

Converts this type into the (usually inferred) input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.