Function std::intrinsics::mir::Variant

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

将具有给定索引的变体投影添加到该位置。

有关文档,请参见 Field