pub enum Place {
Reg(PhysReg),
Slot(u32),
}Expand description
Where a value lives.
Variants§
Reg(PhysReg)
In a register, for the whole of its range.
Slot(u32)
In a slot of the frame, which is what a value the allocator ran out of registers for gets, and what a value an instruction can only read from memory gets.
Trait Implementations§
impl Copy for Place
impl Eq for Place
impl StructuralPartialEq for Place
Auto Trait Implementations§
impl Freeze for Place
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnsafeUnpin for Place
impl UnwindSafe for Place
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