Crate slint_macros
source · [−]Expand description
NOTE: This library is an internal crate for 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.
Macros
This macro allows you to use the .slint
design markup language inline in Rust code. Within the braces of the macro
you can use place .slint
code and the named exported components will be available for instantiation.