Enum MemLabel
pub enum MemLabel {
PCRel(i32),
Mach(MachLabel),
}
Expand description
A reference to some memory address.
Variants§
PCRel(i32)
An address in the code, a constant pool or jumptable, with relative
offset from this instruction. This form must be used at emission time;
see memlabel_finalize()
for how other forms are lowered to this one.
Mach(MachLabel)
An address that refers to a label within a MachBuffer
, for example a
constant that lives in the pool at the end of the function.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemLabel
impl RefUnwindSafe for MemLabel
impl Send for MemLabel
impl Sync for MemLabel
impl Unpin for MemLabel
impl UnwindSafe for MemLabel
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