pub struct ImportedSymbol {
pub name: String,
pub got_addr: u64,
}Expand description
Retains jump-slot locations so dynamic imports can be connected later.
Fields§
§name: StringOwns the imported symbol name used to select a future shim.
got_addr: u64Gives the guest GOT slot that receives the resolved address.
Trait Implementations§
Source§impl Clone for ImportedSymbol
impl Clone for ImportedSymbol
Source§fn clone(&self) -> ImportedSymbol
fn clone(&self) -> ImportedSymbol
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 ImportedSymbol
impl RefUnwindSafe for ImportedSymbol
impl Send for ImportedSymbol
impl Sync for ImportedSymbol
impl Unpin for ImportedSymbol
impl UnsafeUnpin for ImportedSymbol
impl UnwindSafe for ImportedSymbol
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