zerovec_derive::utils

Function wrap_field_inits

source
pub fn wrap_field_inits(streams: &[TokenStream], fields: &Fields) -> TokenStream
Expand description

Given a set of entries for struct field definitions to go inside a struct {} definition, wrap in a () or {} based on the type of field