Function rupta::util::has_self_ref_parameter
source · pub fn has_self_ref_parameter(tcx: TyCtxt<'_>, def_id: DefId) -> boolExpand description
Returns true if the function has an explicit &(mut) self as its first parameter, allowing method calls.