pub struct Symbols {
pub near: Reach,
pub far: Reach,
pub thread: Reach,
pub pointer: Pointer,
}Expand description
The two ways the address of a symbol is come by.
Fields§
§near: ReachA symbol this image defines, whose address is a fixed distance from the code.
far: ReachA symbol another image may define, whose address is read out of the global offset table.
thread: ReachHow far a thread-local variable is from the thread pointer, which is read out of the global offset table too, from a slot the link fills in with that distance.
pointer: PointerThe thread pointer itself.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbols
impl RefUnwindSafe for Symbols
impl Send for Symbols
impl Sync for Symbols
impl Unpin for Symbols
impl UnsafeUnpin for Symbols
impl UnwindSafe for Symbols
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