mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 23:27:22 +00:00
![]() The ffi function wrapper need to be changed because in the 2021 edition, when the capture is moved into the closure, it moves the individual field instead of the whole wrapper. But we need to move the whole wrapper because the Drop of the wrapper will delete the C++ closure, and we don't want to call the closure after it is deleted. |
||
---|---|---|
.. | ||
LICENSES | ||
macro | ||
src | ||
tests | ||
Cargo.toml | ||
CHANGELOG.md | ||
README.md |
const-field-offset crate
This crate expose the FieldOffsets derive macro and the types it uses
Check the crate documentation for more details.