pub struct ExplicitPredicatesMap<'tcx> {
map: FxHashMap<DefId, EarlyBinder<BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>>,
}
Fields§
§map: FxHashMap<DefId, EarlyBinder<BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>>
Implementations§
source§impl<'tcx> ExplicitPredicatesMap<'tcx>
impl<'tcx> ExplicitPredicatesMap<'tcx>
pub fn new() -> ExplicitPredicatesMap<'tcx>
pub(crate) fn explicit_predicates_of(
&mut self,
tcx: TyCtxt<'tcx>,
def_id: DefId
) -> &EarlyBinder<BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for ExplicitPredicatesMap<'tcx>
impl<'tcx> !Send for ExplicitPredicatesMap<'tcx>
impl<'tcx> !Sync for ExplicitPredicatesMap<'tcx>
impl<'tcx> Unpin for ExplicitPredicatesMap<'tcx>
impl<'tcx> !UnwindSafe for ExplicitPredicatesMap<'tcx>
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes