Replies: 2 comments
-
I think Support for enums that store values is not implemented yet. It's a bit unfortunate as while it is native to Rust as target language, it's not native in C++ (it's a little awkward requiring wrappers). But it could be done, and it would be nice to have :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is a valuable feature. This has also been discussed in #1307 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hey,
i was wondering why the types supported by models are limited to f32/i32 and what's the correct thing to do if i'm working with bigger numbers in my data like f64/u64+
and how do i define enums variants that store values in the .slint file?
like:
thanks :)
Beta Was this translation helpful? Give feedback.
All reactions