Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::ct::detail::Reference< Id, T > Struct Template Reference

Runtime reference storage, excluded from constant construction. More...

#include <ui_static.hpp>

Public Member Functions

template<class U>
auto apply (Description< U > recipe)

Public Attributes

ui::Ref< T > value
 Shared observing slot; owns neither widget nor scene.

Static Public Attributes

static constexpr auto ID = Id
 Required static target identity.
static constexpr auto KIND = AdapterKind::REFERENCE
 Duplicate checking category.

Detailed Description

template<Literal Id, class T>
struct portals::ui::ct::detail::Reference< Id, T >

Runtime reference storage, excluded from constant construction.

Template Parameters
IdRequired nonempty identity.
TObserved existing widget type.

Member Function Documentation

◆ apply()

template<Literal Id, class T>
template<class U>
auto portals::ui::ct::detail::Reference< Id, T >::apply ( Description< U > recipe)
inline
Template Parameters
UExisting widget type at the matching identity.
Parameters
recipeConsuming existing runtime recipe.
Returns
Recipe with deferred transactional publication; mismatch fails compilation.

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