|
commons 0.1.5
Header-only C++23 library of common/shared types for the C++ libraries
|
Presentation metadata for a type/value. More...
#include <display_info.hpp>
Public Member Functions | |
| bool | operator== (const DisplayInfo &) const =default |
| Field-wise equality. | |
Public Attributes | |
| std::optional< std::string > | name = std::nullopt |
| Human-readable label. | |
| std::optional< std::string > | description = std::nullopt |
| Longer explanatory text. | |
| std::optional< Icon > | icon = std::nullopt |
| Associated Iconify icon. | |
| std::optional< Color > | color = std::nullopt |
| Associated display color. | |
Presentation metadata for a type/value.
All fields optional; define once as static, never mutate at runtime.