7#include "../enum_metadata.hpp"
8#include <unordered_map>
12namespace hi::inline v1 {
20enum class text_decoration {
28constexpr auto text_decoration_metadata = enum_metadata{
29 text_decoration::None,
"none",
30 text_decoration::Underline,
"underline",
31 text_decoration::WavyUnderline,
"wavy-underline",
32 text_decoration::StrikeThrough,
"strike-through"
36[[nodiscard]]
inline std::string_view
to_string(text_decoration
const &rhs)
noexcept
38 return text_decoration_metadata[rhs];
43 return lhs << text_decoration_metadata[rhs];