Struct rustc_typeck::outlives::implicit_infer::InferVisitor [−][src]
pub struct InferVisitor<'cx, 'tcx> {
tcx: TyCtxt<'tcx>,
global_inferred_outlives: &'cx mut FxHashMap<DefId, BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>,
predicates_added: &'cx mut bool,
explicit_map: &'cx mut ExplicitPredicatesMap<'tcx>,
}Fields
tcx: TyCtxt<'tcx>global_inferred_outlives: &'cx mut FxHashMap<DefId, BTreeMap<OutlivesPredicate<GenericArg<'tcx>, Region<'tcx>>, Span>>predicates_added: &'cx mut boolexplicit_map: &'cx mut ExplicitPredicatesMap<'tcx>Trait Implementations
impl<'cx, 'tcx> ItemLikeVisitor<'tcx> for InferVisitor<'cx, 'tcx>[src]
impl<'cx, 'tcx> ItemLikeVisitor<'tcx> for InferVisitor<'cx, 'tcx>[src]fn visit_item(&mut self, item: &Item<'_>)[src]
fn visit_trait_item(&mut self, _trait_item: &'tcx TraitItem<'tcx>)[src]
fn visit_impl_item(&mut self, _impl_item: &'tcx ImplItem<'tcx>)[src]
fn visit_foreign_item(&mut self, _foreign_item: &'tcx ForeignItem<'tcx>)[src]
Auto Trait Implementations
impl<'cx, 'tcx> !RefUnwindSafe for InferVisitor<'cx, 'tcx>
impl<'cx, 'tcx> !Send for InferVisitor<'cx, 'tcx>
impl<'cx, 'tcx> !Sync for InferVisitor<'cx, 'tcx>
impl<'cx, 'tcx> Unpin for InferVisitor<'cx, 'tcx> where
'tcx: 'cx,
'tcx: 'cx,
impl<'cx, 'tcx> !UnwindSafe for InferVisitor<'cx, '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,