Specify that both `MaybeZeroable` and `Zeroable` work on `union`s. Add a
doc example for a union. Also include an example with visibility on the
field.
Link:
|
||
|---|---|---|
| .. | ||
| __internal.rs | ||
| alloc.rs | ||
| lib.rs | ||
| macros.rs | ||
Specify that both `MaybeZeroable` and `Zeroable` work on `union`s. Add a
doc example for a union. Also include an example with visibility on the
field.
Link:
|
||
|---|---|---|
| .. | ||
| __internal.rs | ||
| alloc.rs | ||
| lib.rs | ||
| macros.rs | ||