morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::MessageVariant Struct Reference

One variant of a .match: a key per selector (* is the catch-all) and its pattern. More...

#include <message.hpp>

Public Attributes

std::vector< std::string > keys
 The keys, one per selector.
std::vector< MessagePart > pattern
 The pattern shown when the variant is selected.

Detailed Description

One variant of a .match: a key per selector (* is the catch-all) and its pattern.

Definition at line 310 of file message.hpp.

Member Data Documentation

◆ keys

std::vector<std::string> morph::ui::MessageVariant::keys

The keys, one per selector.

Definition at line 312 of file message.hpp.

◆ pattern

std::vector<MessagePart> morph::ui::MessageVariant::pattern

The pattern shown when the variant is selected.

Definition at line 314 of file message.hpp.


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