Toast Engine
Loading...
Searching...
No Matches
toast::settings::Entry Struct Reference

One registered setting. Held by the registry; Setting<T> is a handle to it. More...

#include <settings.hpp>

Collaboration diagram for toast::settings::Entry:

Public Attributes

std::string key
Type type = Type::boolean
Meta meta
Value default_value
std::array< std::optional< Value >, k_layer_count > overrides
 Indexed by Layer minus one.
Value resolved
std::vector< std::function< void(const Value &)> > on_change

Detailed Description

One registered setting. Held by the registry; Setting<T> is a handle to it.


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