Struct rustc_borrowck::type_check::BorrowCheckContext
source · struct BorrowCheckContext<'a, 'tcx> {
pub(crate) universal_regions: &'a UniversalRegions<'tcx>,
location_table: &'a LocationTable,
all_facts: &'a mut Option<AllFacts>,
borrow_set: &'a BorrowSet<'tcx>,
pub(crate) constraints: &'a mut MirTypeckRegionConstraints<'tcx>,
upvars: &'a [Upvar<'tcx>],
}
Fields§
§universal_regions: &'a UniversalRegions<'tcx>
§location_table: &'a LocationTable
§all_facts: &'a mut Option<AllFacts>
§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,
impl<'a, 'tcx> !UnwindSafe for BorrowCheckContext<'a, '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: 56 bytes