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

Output-only style index scoped to one buffer between clear/resize/move. More...

#include <cell_buffer.hpp>

Public Member Functions

bool operator== (const StyleId &other) const noexcept=default
 Compare local indices; equality across buffers has no semantic meaning.

Public Attributes

std::uint32_t value {}
 Local index; zero identifies the default style.

Detailed Description

Output-only style index scoped to one buffer between clear/resize/move.

Member Function Documentation

◆ operator==()

bool portals::StyleId::operator== ( const StyleId & other) const
defaultnoexcept

Compare local indices; equality across buffers has no semantic meaning.

Parameters
otherValue whose corresponding fields are compared.
Returns
True when every compared field is equal; false otherwise.

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