3 releases
0.1.2 | Nov 24, 2021 |
---|---|
0.1.1 | Aug 16, 2021 |
0.1.0 | Aug 26, 2020 |
#26 in #desktop-applications
2,032 downloads per month
Used in 20 crates
(9 directly)
10KB
186 lines
const-field-offset crate
This crate expose the FieldOffsets derive macro and the types it uses
Check the crate documentation for more details.
lib.rs
:
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.
Dependencies
~260–770KB
~18K SLoC