pub(crate) fn has_rapx_struct_invariant( tcx: TyCtxt<'_>, struct_def_id: DefId, ) -> bool
Check whether a local struct declares a RAPx invariant without parsing it.