Skip to main content

gen_default_impl

Function gen_default_impl 

Source
fn gen_default_impl(make: &SyntaxFactory, adt: &Adt) -> Option<BlockExpr>
Expand description

Generate a Default impl based on the fields and members of the target type.