Crate ansi_align

Crate ansi_align 

Source

Structs§

AlignOptions
Options for text alignment
Width
A type-safe wrapper for display width values

Enums§

Alignment
Alignment options for text

Functions§

ansi_align
Align text with center alignment (default behavior)
ansi_align_with_options
Align text with support for ANSI escape sequences
center
Align text to the center
left
Align text to the left (no-op, returns original text)
right
Align text to the right