Struct rustc_typeck::outlives::explicit::ExplicitPredicatesMap
source · 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
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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