3 ms·
Wouldn't you need to make `Foo` a union for this to be defined anyway?
by bbatha 9y ago
Wouldn't you need to make `Foo` a union for this to be defined anyway?
- kzrdude 9y agoRust `#[repr(C)]` is about representation in memory and function call ABI for the type. C rules about casting through union are not relevant to Rust code.