Struct rustc_mir_transform::dest_prop::Allocations
source · struct Allocations {
candidates: FxHashMap<Local, Vec<Local>>,
candidates_reverse: FxHashMap<Local, Vec<Local>>,
write_info: WriteInfo,
}
Expand description
Container for the various allocations that we need.
We store these here and hand out &mut
access to them, instead of dropping and recreating them
frequently. Everything with a &'alloc
lifetime points into here.
Fields§
§candidates: FxHashMap<Local, Vec<Local>>
§candidates_reverse: FxHashMap<Local, Vec<Local>>
§write_info: WriteInfo
Trait Implementations§
source§impl Default for Allocations
impl Default for Allocations
source§fn default() -> Allocations
fn default() -> Allocations
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Allocations
impl Send for Allocations
impl Sync for Allocations
impl Unpin for Allocations
impl UnwindSafe for Allocations
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: 96 bytes