4 ms·
This looks really neat, I played with it a bit and the DSL is well thought out. One thing I can't figure though: how do we set default values for internal Stru
by ealhad 3y ago
This looks really neat, I played with it a bit and the DSL is well thought out.
One thing I can't figure though: how do we set default values for internal Struct?
Said default values are mentionned in the documentation (here: <https://slint.dev/releases/1.0.2/docs/slint/src/reference/types#conversions https://slint.dev/releases/1.0.2/docs/slint/src/reference/ty...>).
// ok even if a is missing, it will just have the default value