17#include "../microfmt.hpp"
47 microfmt::string_view text{};
59 char fill =
' ') noexcept {
86 bool use_ellipsis =
true) noexcept {
106 bool align_set{
false};
107 bool fill_set{
false};
114#if MICROFMT_SHARED_PROVIDE_DEFINITIONS
Definition microfmt.hpp:881
#define MICROFMT_API_CLASS
Definition compat.hpp:181
#define MICROFMT_API
Definition compat.hpp:135
#define MICROFMT_API_CONSTEXPR
Definition compat.hpp:163
text_align
Definition styled.hpp:29
reloco::sink sink
Type-erased, zero-allocation output sink.
Definition microfmt.hpp:46
text_case
Definition styled.hpp:26
constexpr styled_str_view pad_center(microfmt::string_view s, size_t width, char fill=' ') noexcept
Definition styled.hpp:64
constexpr styled_str_view pad_right(microfmt::string_view s, size_t width, char fill=' ') noexcept
Definition styled.hpp:69
quote_style
Definition styled.hpp:32
constexpr styled_str_view pad(microfmt::string_view s, size_t width, text_align a=text_align::left, char fill=' ') noexcept
Definition styled.hpp:58
constexpr styled_str_view quoted(microfmt::string_view s, quote_style q=quote_style::double_quotes) noexcept
Definition styled.hpp:91
constexpr styled_str_view truncate(microfmt::string_view s, size_t max_chars, bool use_ellipsis=true) noexcept
Definition styled.hpp:85