Expand description
This crate contains internal data structures and code that is shared between the i-slint-core and the i-slint-compiler crates.
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.
Modules§
- builtin_
structs - This module contains all builtin structures exposed in the .slint language.
- enums
- This module contains all enums exposed in the .slint language.
- key_
codes - This module is meant to be included by different crates and each crate must define the macro for_each_keys
- styled_
text
Macros§
- for_
each_ builtin_ structs - Call a macro with every builtin structures exposed in the .slint language
- for_
each_ enums - Call a macro with every enum exposed in the .slint language
- for_
each_ keys
Constants§
- MENU_
SEPARATOR_ PLACEHOLDER_ TITLE - MenuItem with this title are actually MenuSeparator
- ROW_
COL_ AUTO - Internal “magic” value for row and col numbers, to mean “auto”, in GridLayoutInputData Use the value 65536, so it’s outside u16 range and not as likely as -1 (we can catch it as a literal at compile time, but not if it’s a runtime value)
Functions§
- get_
native_ style - Detect the native style depending on the platform