Struct rustc_typeck::outlives::explicit::ExplicitPredicatesMap [−][src]
pub struct ExplicitPredicatesMap<'tcx> {
map: FxHashMap<DefId, BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>,
}Fields
map: FxHashMap<DefId, BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>Implementations
impl<'tcx> ExplicitPredicatesMap<'tcx>[src]
impl<'tcx> ExplicitPredicatesMap<'tcx>[src]pub fn new() -> ExplicitPredicatesMap<'tcx>[src]
pub fn explicit_predicates_of(
&mut self,
tcx: TyCtxt<'tcx>,
def_id: DefId
) -> &BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>[src]
&mut self,
tcx: TyCtxt<'tcx>,
def_id: DefId
) -> &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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,