mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-23 04:55:28 +00:00
![]() This removes the special code for the generated property getters and ensures type safety in the run-time library for property value setting. In the Rust generated code we continue to do arithmetic on the scalar values, that means we immediately extract the scalar, do arithmetic and rely on the compiler to only allow compatible units. Danger zone alert: In the interpreter Value::Number can now be converted to LogicalLength as-is. |
||
---|---|---|
.. | ||
cpp.rs | ||
rust.rs |