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

One Unicode scalar, not a grapheme cluster; Alt may be present. More...

#include <input.hpp>

Public Member Functions

bool operator== (const TextInputEvent &other) const =default
 Compare the complete event value.

Public Attributes

char32_t scalar {}
 Valid Unicode scalar, without normalization.
InputModifiers modifiers {}
 Observed modifiers.

Detailed Description

One Unicode scalar, not a grapheme cluster; Alt may be present.

Member Function Documentation

◆ operator==()

bool portals::TextInputEvent::operator== ( const TextInputEvent & other) const
default

Compare the complete event value.

Parameters
otherEvent or metadata value to compare, without interpreting its payload.
Returns
True when every stored field is equal; false otherwise.

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