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§
- A Column is a basic unit of output
- This struct configures the output of a document
Enums§
- Alignment controls the alignment of the output within a column
Functions§
- Generate output configuration from the given document
- Parse an input string into a document
- Print the given document to stdout using the given output configuration
- Split an input row into its component graphemes
- Write the given document to the specified writer using the given output configuration
Type Aliases§
- A Cell is a single field within a row
- A Row is a list of Cells.