Owning per-axis bounds; preferred=-1 or CONTENT uses intrinsic measurement.
More...
#include <layout.hpp>
|
|
std::int32_t | minimum {} |
| | Nonnegative hard minimum.
|
|
std::int32_t | preferred {INTRINSIC_EXTENT} |
| | Intrinsic when -1, otherwise requested size.
|
|
std::int32_t | maximum {std::numeric_limits<std::int32_t>::max()} |
| | Inclusive cap.
|
|
SizeMode | mode {SizeMode::AUTOMATIC} |
| | Fixed does not shrink; flex shares spare cells.
|
|
std::uint32_t | weight {1} |
| | Positive flex weight.
|
Owning per-axis bounds; preferred=-1 or CONTENT uses intrinsic measurement.
◆ operator==()
| bool portals::AxisSize::operator== |
( |
const AxisSize & | other | ) |
const |
|
constexprdefault |
- Parameters
-
| other | Owning axis value to compare. |
- Returns
- Whether every bound and allocation setting agrees.
The documentation for this struct was generated from the following file: