Skip to main content

gen_clone_impl

Function gen_clone_impl 

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

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