Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 10
What is `#[repr(transparent)]` used for?
A
Removing padding from any struct
B
Making fields public
C
Guaranteeing a single-field wrapper has exactly the same layout and ABI as its field (safe for FFI and transmute)
D
Making the struct invisible to debuggers