Skip to main content

expanded_elem_prelude

Function expanded_elem_prelude 

Source
fn expanded_elem_prelude(vi: &VariantInfo) -> TokenStream
Expand description

Bind the elements of variant vi’s [T; N] / width = N fields to the variables enum_elem_idents names, for a match arm whose pattern binds each field to its binding.