slint/helper_crates/const-field-offset
Olivier Goffart a45dcc1f9a Update to edition 2021
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.
2022-01-25 11:40:11 +01:00
..
LICENSES Update license information 2022-01-20 14:45:02 +01:00
macro Update to edition 2021 2022-01-25 11:40:11 +01:00
src Update license information 2022-01-20 14:45:02 +01:00
tests Update license information 2022-01-20 14:45:02 +01:00
Cargo.toml Update to edition 2021 2022-01-25 11:40:11 +01:00
CHANGELOG.md Update ChangeLog of helper crates 2021-11-24 16:21:04 +01:00
README.md Add a readme dor the const-field-offset crate 2020-12-07 15:27:50 +01:00

const-field-offset crate

Crates.io Docs.rs

This crate expose the FieldOffsets derive macro and the types it uses

Check the crate documentation for more details.