This is a unsafe code, made to test "C like" union implementation, used to send struct data by acessing its byte value inside a union.
The basic purpose is to learn and find how to acess struct fields inside of a unstable union. No guide line followed, just making the code work by fixing compiler errors and warnings.
- Im aware that values should be acessed by methods.
- Im aware of the enum type, and union limitations.
- Set method implemented, working.
- Using rust 1.60.0
- Using nightly-x86_64-pc-windows-msvc as toolchain.
- Compiler warnings disabled
- Implement Get methods.
- Change union declaration
- Test shared acess between threads with Arc