Expand description
pad
handles padding and alignment within delimited strings
While its primary use case is as a command line tool, this library is provided in case a programmatic interface might be useful to someone.
Structs§
- Column
- A Column is a basic unit of output
- Output
Config - This struct configures the output of a document
Enums§
- Alignment
- Alignment controls the alignment of the output within a column
Functions§
- configure_
output - Generate output configuration from the given document
- parse_
document - Parse an input string into a document
- Print the given document to stdout using the given output configuration
- split_
row - Split an input row into its component graphemes
- write
- Write the given document to the specified writer using the given output configuration