|
microfmt
Zero-allocation C++ formatting for constrained environments
|
#include <styled.hpp>

Public Attributes | |
| microfmt::string_view | text {} |
| size_t | width {0} |
| char | fill_char {' '} |
| text_align | align {text_align::left} |
| text_case | casing {text_case::none} |
| quote_style | quote {quote_style::none} |
| size_t | max_len {0} |
| bool | ellipsis {true} |
Lightweight configuration for a styled text value.
Set max_len to zero to disable truncation. When truncation is enabled, ellipsis appends three dots when max_len is greater than three.
| text_align microfmt::styled_str_view::align {text_align::left} |
| text_case microfmt::styled_str_view::casing {text_case::none} |
| bool microfmt::styled_str_view::ellipsis {true} |
| char microfmt::styled_str_view::fill_char {' '} |
| size_t microfmt::styled_str_view::max_len {0} |
| quote_style microfmt::styled_str_view::quote {quote_style::none} |
| microfmt::string_view microfmt::styled_str_view::text {} |
| size_t microfmt::styled_str_view::width {0} |