3 ms·
>Because the BindgenUnionField is zero sized, a pointer to it is a pointer to the beginning of the struct Is that a stable assumption?
by Retra 9y ago
>Because the BindgenUnionField is zero sized, a pointer to it is a pointer to the beginning of the struct
Is that a stable assumption?
- Manishearth 9y agoBecause it's repr(C) IIRC yes.