PackOption¶
Per-child packing configuration within a box container.
Constructors¶
create¶
Create a pack option. Defaults to fixed size with no padding.
new val create(
mode': (PackFixed val | PackExpand val | PackFill val) = reference,
padding': USize val = 0)
: PackOption val^
Parameters¶
- mode': (PackFixed val | PackExpand val | PackFill val) = reference
- padding': USize val = 0
Returns¶
- PackOption val^