pub struct Import {
pub name: String,
pub version: Option<String>,
pub file: Option<String>,
pub weak: bool,
pub slots: Vec<u64>,
}Expand description
An undefined (imported) dynamic symbol.
Fields§
§name: String§version: Option<String>Symbol version, e.g. GLIBC_2.28, if versioned.
file: Option<String>The library the version is required from, e.g. libc.so.6.
weak: boolWeak symbol, or a weak version requirement: the program must cope with it being absent.
slots: Vec<u64>GOT slots (virtual addresses) that hold this symbol’s address.
Trait Implementations§
impl Eq for Import
impl StructuralPartialEq for Import
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnsafeUnpin for Import
impl UnwindSafe for Import
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