commons 0.1.5
Header-only C++23 library of common/shared types for the C++ libraries
Loading...
Searching...
No Matches
comms::DisplayInfo Struct Reference

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< Iconicon = std::nullopt
 Associated Iconify icon.
 
std::optional< Colorcolor = std::nullopt
 Associated display color.
 

Detailed Description

Presentation metadata for a type/value.

All fields optional; define once as static, never mutate at runtime.


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