serde_derive::internals::ast

Function struct_from_ast

source
fn struct_from_ast<'a>(
    cx: &Ctxt,
    fields: &'a Fields,
    attrs: Option<&Variant>,
    container_default: &Default,
) -> (Style, Vec<Field<'a>>)