serde_derive::internals::ast

Function enum_from_ast

source
fn enum_from_ast<'a>(
    cx: &Ctxt,
    variants: &'a Punctuated<Variant, Comma>,
    container_default: &Default,
) -> Vec<Variant<'a>>