pub(crate) fn function_has_rapx_struct_invariant( tcx: TyCtxt<'_>, def_id: DefId, ) -> bool
Check whether a function’s owning struct declares a RAPx invariant.