style_derive::specified_value_info

Function derive_struct_fields

source
fn derive_struct_fields<'a>(
    fields: &'a Fields,
    types: &mut Vec<&'a Type>,
    values: &mut Vec<String>,
) -> bool
Expand description

Derive from the given fields. Return false if the fields is a Unit, true otherwise.