Struct rustc_borrowck::region_infer::values::LiveLoans
source · pub(crate) struct LiveLoans {
pub(crate) inflowing_loans: SparseBitMatrix<RegionVid, BorrowIndex>,
pub(crate) live_loans: SparseBitMatrix<PointIndex, BorrowIndex>,
}Expand description
Data used to compute the loans that are live at a given point in the CFG, when using
-Zpolonius=next.
Fields§
§inflowing_loans: SparseBitMatrix<RegionVid, BorrowIndex>The set of loans that flow into a given region. When individual regions are marked as live in the CFG, these inflowing loans are recorded as live.
live_loans: SparseBitMatrix<PointIndex, BorrowIndex>The set of loans that are live at a given point in the CFG.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LiveLoans
impl Send for LiveLoans
impl Sync for LiveLoans
impl Unpin for LiveLoans
impl UnwindSafe for LiveLoans
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 64 bytes