pub struct ExternalReloc {
pub offset: usize,
pub symbol: String,
}Expand description
A relocation entry for an unresolved (external) symbol reference.
offset is the byte offset within the code section of the 4-byte displacement field.
Fields§
§offset: usize§symbol: StringTrait Implementations§
Source§impl Clone for ExternalReloc
impl Clone for ExternalReloc
Source§fn clone(&self) -> ExternalReloc
fn clone(&self) -> ExternalReloc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExternalReloc
impl RefUnwindSafe for ExternalReloc
impl Send for ExternalReloc
impl Sync for ExternalReloc
impl Unpin for ExternalReloc
impl UnsafeUnpin for ExternalReloc
impl UnwindSafe for ExternalReloc
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