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

Owning independent policies for width and height. More...

#include <layout.hpp>

Public Member Functions

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

Public Attributes

AxisSize width
 Horizontal policy.
AxisSize height
 Vertical policy.

Detailed Description

Owning independent policies for width and height.

Member Function Documentation

◆ operator==()

bool portals::SizePolicy::operator== ( const SizePolicy & other) const
constexprdefault
Parameters
otherOwning policy to compare.
Returns
Whether both independent axes agree.

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