pub enum Reach {
Mode(&'static str),
Own(&'static str),
}Expand description
One instruction that puts the address of a symbol in a register, and where it carries the symbol.
Variants§
Mode(&'static str)
In its addressing mode, which is how x86-64 does both: a lea or a mov relative to the
instruction pointer.
Own(&'static str)
As the instruction’s own symbol with no addressing mode at all, which is how AArch64 does
both: an adrp for the page and a second instruction for the rest, written as one opcode.
Trait Implementations§
impl Copy for Reach
impl Eq for Reach
impl StructuralPartialEq for Reach
Auto Trait Implementations§
impl Freeze for Reach
impl RefUnwindSafe for Reach
impl Send for Reach
impl Sync for Reach
impl Unpin for Reach
impl UnsafeUnpin for Reach
impl UnwindSafe for Reach
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