pub struct LexicalRegionResolutions<'tcx> {
values: IndexVec<RegionVid, VarValue<'tcx>>,
error_region: Region<'tcx>,
}Expand description
Contains the result of lexical region resolution. Offers methods to lookup up the final value of a region variable.
Fields
values: IndexVec<RegionVid, VarValue<'tcx>>error_region: Region<'tcx>Implementations
sourceimpl<'tcx> LexicalRegionResolutions<'tcx>
impl<'tcx> LexicalRegionResolutions<'tcx>
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for LexicalRegionResolutions<'tcx>
impl<'tcx> Send for LexicalRegionResolutions<'tcx>
impl<'tcx> Sync for LexicalRegionResolutions<'tcx>
impl<'tcx> Unpin for LexicalRegionResolutions<'tcx>
impl<'tcx> UnwindSafe for LexicalRegionResolutions<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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: 32 bytes