Get the offset of a field from the base of a struct

See Need for -> operator for Unsafe Code Guidelines via Raw pointer field projection

1 Like