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

One tagged style mode; changing mode leaves no former exact-size constraint. More...

#include <style_types.hpp>

Public Member Functions

constexpr bool operator== (const StyleAxisSize &other) const =default

Public Attributes

StyleSizeMode mode {StyleSizeMode::AUTOMATIC}
 Allocation request.
std::int32_t extent {}
 Nonnegative cells for FIXED; otherwise zero.
std::uint32_t weight {1}
 Positive FLEX weight.

Detailed Description

One tagged style mode; changing mode leaves no former exact-size constraint.

Member Function Documentation

◆ operator==()

bool portals::StyleAxisSize::operator== ( const StyleAxisSize & other) const
constexprdefault
Parameters
otherRequest to compare.
Returns
Whether every request field agrees.

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