Open Enyium opened 3 months ago
Thanks for filling an issue. Indeed easing is not really a public type in Rust and cannot be easily represented in struct. At least the panic should be fixed. But there are other problems such as https://github.com/slint-ui/slint/issues/3943
I followed your tutorial to create the Memory game with Rust backend. When I add the field
easing-value: easing,
to thestruct TileData
in the .slint file, VS Code on Windows 10 shows me "⚠️ rust-analyzer" with yellow background in the status bar. When I click it, the following output is shown:I added fields with many of the Slint language's types to the struct to see what Rust types are used in the generated code. Only a field of type
easing
made problems.