Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ToastData Struct Reference

Immutable owning payload, independent of callback and scene lifetimes. More...

#include <toast.hpp>

Public Member Functions

 ~ToastData ()=default
 Keep validated owning-text copies fallible rather than introducing noexcept transfers.

Public Attributes

GraphemeText text
 Complete validated message, including undisplayed logical lines.
std::optional< GraphemeText > actionLabel
 Complete action caption, if any; no callable is exposed.
ToastSeverity severity {}
 Owning semantic severity.

Detailed Description

Immutable owning payload, independent of callback and scene lifetimes.


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