6 releases
0.1.5 | Mar 14, 2024 |
---|---|
0.1.4 | Feb 20, 2024 |
0.1.3 | Apr 3, 2023 |
0.1.2 | Nov 24, 2021 |
0.1.0 | Aug 26, 2020 |
#311 in Rust patterns
15,116 downloads per month
Used in 55 crates
(10 directly)
11KB
187 lines
This crate expose the FieldOffsets
derive macro and the types it uses.
The macro allows to get const FieldOffset for member of a #[repr(C)]
struct.
The FieldOffset
type is re-exported from the field-offset
crate.
const-field-offset crate
This crate expose the FieldOffsets derive macro and the types it uses
Check the crate documentation for more details.
Dependencies
~250–700KB
~16K SLoC