2 ms·
> Rust's Union is for C FFI, right? No :) > is there something meaningful that Union is for other than C interop? Look more closely at the Rust standard libr
by tialaramex 3y ago
> Rust's Union is for C FFI, right?
No :)
> is there something meaningful that Union is for other than C interop?
Look more closely at the Rust standard library, MaybeUninit<T> is a union.