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 LocationTableall_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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 T where
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: 56 bytes