Struct rustc_mir_transform::ssa::StorageLiveLocals
source · pub(crate) struct StorageLiveLocals {
storage_live: IndexVec<Local, Set1<LocationExtended>>,
}
Fields§
§storage_live: IndexVec<Local, Set1<LocationExtended>>
Set of “StorageLive” statements for each local.
Implementations§
source§impl StorageLiveLocals
impl StorageLiveLocals
pub(crate) fn new( body: &Body<'_>, always_storage_live_locals: &BitSet<Local> ) -> StorageLiveLocals
pub(crate) fn has_single_storage(&self, local: Local) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StorageLiveLocals
impl Send for StorageLiveLocals
impl Sync for StorageLiveLocals
impl Unpin for StorageLiveLocals
impl UnwindSafe for StorageLiveLocals
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: 24 bytes