Skip to main content

struct_ref_param_locals

Function struct_ref_param_locals 

Source
fn struct_ref_param_locals(
    tcx: TyCtxt<'_>,
    def_id: DefId,
    struct_def_id: DefId,
) -> Vec<Local>
Expand description

Return the parameter locals of def_id whose type is a &Struct / &mut Struct reference to struct_def_id.