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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)