Path: blob/main/release-content/release-notes/constructor_functions_for_val_variants.md
6592 views
---
---
To make Val
s easier to construct the following helper functions have been added: px
, percent
, vw
, vh
, vmin
and vmax
. Each function takes any integer type and returns the value wrapped by its corresponding Val
variant. There is also an auto
helper function that maps to Val::Auto
.