core::intrinsics::mir

Function Variant

source
pub fn Variant<T>(place: T, index: u32)
🔬This is a nightly-only experimental API. (custom_mir)
Expand description

Adds a variant projection with the given index to the place.

See Field for documentation.