pub enum Reach {
Near,
Far,
}Expand description
Says how generated code reaches an external symbol.
Variants§
Near
A direct PC-relative reference. The symbol must be within the instruction’s range of the code.
Far
Through a pointer-sized slot in an address table next to the code, so the symbol can be anywhere.
Trait Implementations§
impl Copy for Reach
impl Eq for Reach
impl StructuralPartialEq for Reach
Auto Trait Implementations§
impl Forget for Reach
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