Skip to main content

gen_partial_eq

Function gen_partial_eq 

Source
fn gen_partial_eq(
    make: &SyntaxFactory,
    adt: &Adt,
    trait_ref: Option<TraitRef<'_>>,
) -> Option<BlockExpr>
Expand description

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