microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::detail::parsed_string_spec Struct Reference

Parsed advanced string format specifier state. More...

#include <string.hpp>

Public Attributes

char fill {' '}
 Fill character used for padding (default space).
 
string_align align {string_align::none}
 Requested horizontal alignment.
 
size_t width {0}
 Output field width.
 
size_t precision {size_t(-1)}
 Maximum visible length, or size_t(-1) for none.
 
bool debug_escaped {false}
 When true, render the string debug-escaped ("...").
 

Detailed Description

Parsed advanced string format specifier state.

Member Data Documentation

◆ align

string_align microfmt::detail::parsed_string_spec::align {string_align::none}

Requested horizontal alignment.

◆ debug_escaped

bool microfmt::detail::parsed_string_spec::debug_escaped {false}

When true, render the string debug-escaped ("...").

◆ fill

char microfmt::detail::parsed_string_spec::fill {' '}

Fill character used for padding (default space).

◆ precision

size_t microfmt::detail::parsed_string_spec::precision {size_t(-1)}

Maximum visible length, or size_t(-1) for none.

◆ width

size_t microfmt::detail::parsed_string_spec::width {0}

Output field width.


The documentation for this struct was generated from the following file: