slint/internal/core-macros
Simon Hausmann c16253d29f Use Property<LogicalLength> instead of Property<Coord>
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.
2022-10-24 12:49:37 +02:00
..
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
Cargo.toml Bump version number to 0.3.1 2022-09-15 14:39:51 +02:00
lib.rs Use Property<LogicalLength> instead of Property<Coord> 2022-10-24 12:49:37 +02:00
README.md Fix extra identation in the README 2022-02-10 09:28:14 +01:00

This crate contains the internal procedural macros used by the i-slint-core crate

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.