3 releases

0.1.2 Nov 24, 2021
0.1.1 Aug 16, 2021
0.1.0 Aug 26, 2020

#26 in #desktop-applications

Download history 218/week @ 2022-08-22 512/week @ 2022-08-29 2211/week @ 2022-09-05 3964/week @ 2022-09-12 234/week @ 2022-09-19 399/week @ 2022-09-26 426/week @ 2022-10-03 258/week @ 2022-10-10 204/week @ 2022-10-17 482/week @ 2022-10-24 430/week @ 2022-10-31 772/week @ 2022-11-07 530/week @ 2022-11-14 220/week @ 2022-11-21 695/week @ 2022-11-28 563/week @ 2022-12-05

2,032 downloads per month
Used in 20 crates (9 directly)

MIT/Apache and GPL-3.0-only

10KB
186 lines

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.


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