[][src]Function proc_macro2_helper::named_struct_fields_from_data

pub fn named_struct_fields_from_data(data: Data) -> Vec<Field>

Extracts named struct fields from data Panics if either the data does not represent a struct or the struct is a unit struct or tuple struct