Struct rustc_mir::borrow_check::type_check::BorrowCheckContext [−][src]
struct BorrowCheckContext<'a, 'tcx> {
universal_regions: &'a UniversalRegions<'tcx>,
location_table: &'a LocationTable,
all_facts: &'a mut Option<PoloniusFacts<RustcFacts>>,
borrow_set: &'a BorrowSet<'tcx>,
constraints: &'a mut MirTypeckRegionConstraints<'tcx>,
upvars: &'a [Upvar<'tcx>],
}Fields
universal_regions: &'a UniversalRegions<'tcx>location_table: &'a LocationTableall_facts: &'a mut Option<PoloniusFacts<RustcFacts>>borrow_set: &'a BorrowSet<'tcx>constraints: &'a mut MirTypeckRegionConstraints<'tcx>upvars: &'a [Upvar<'tcx>]Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for BorrowCheckContext<'a, 'tcx>
impl<'a, 'tcx> !Send for BorrowCheckContext<'a, 'tcx>
impl<'a, 'tcx> !Sync for BorrowCheckContext<'a, 'tcx>
impl<'a, 'tcx> Unpin for BorrowCheckContext<'a, 'tcx> where
'tcx: 'a,
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for BorrowCheckContext<'a, '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]