Safe pointer-to-member implementation for Rust, allowing field offset calculations.
# Cargo.toml
[dependencies]
field-offset = "0.3.6"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Calculates the byte offset of a struct field using the offset_of! macro.
Enable the "unstable" feature if using stable Rust, or switch to nightly.
No dependency data recorded yet.