Explain how to get the discriminant out of a `#[repr(T)] enum` with payload example stolen from https://github.com/rust-lang/reference/pull/1055 ````@rustbot```` label A-docs |
||
|---|---|---|
| .. | ||
| benches | ||
| primitive_docs | ||
| src | ||
| tests | ||
| Cargo.toml | ||
Explain how to get the discriminant out of a `#[repr(T)] enum` with payload example stolen from https://github.com/rust-lang/reference/pull/1055 ````@rustbot```` label A-docs |
||
|---|---|---|
| .. | ||
| benches | ||
| primitive_docs | ||
| src | ||
| tests | ||
| Cargo.toml | ||