[][src]Crate tabout

This crate provides some helpers to automatically tabulate data so that it is presented reasonably nicely for humans to read, without requiring that each column be hard coded to particular widths in the code beforehand.

Structs

Column

Describes a column

Enums

Alignment

Describes the alignment of a column

Functions

tabulate_output

Given a set of column headers and the row content, automatically compute the column widths and then format the data to the output stream. If a given row has more columns than are defined in the columns slice, then a left aligned column with no label will be assumed.

tabulate_output_as_string

A convenience around tabulate_output that returns a String holding the formatted data.