#[repr(C)]pub struct ElfApiInterface {
pub api_version_major: u16,
pub api_version_minor: u16,
pub resolver_callback: Option<unsafe extern "C" fn(interface: *const ElfApiInterface, hash: u32, address: *mut Elf32_Addr) -> bool>,
}
Expand description
Interface for ELF loader to resolve symbols
Fields§
§api_version_major: u16
§api_version_minor: u16
§resolver_callback: Option<unsafe extern "C" fn(interface: *const ElfApiInterface, hash: u32, address: *mut Elf32_Addr) -> bool>
Trait Implementations§
Source§impl Clone for ElfApiInterface
impl Clone for ElfApiInterface
Source§fn clone(&self) -> ElfApiInterface
fn clone(&self) -> ElfApiInterface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ElfApiInterface
impl Debug for ElfApiInterface
impl Copy for ElfApiInterface
Auto Trait Implementations§
impl Freeze for ElfApiInterface
impl RefUnwindSafe for ElfApiInterface
impl Send for ElfApiInterface
impl Sync for ElfApiInterface
impl Unpin for ElfApiInterface
impl UnwindSafe for ElfApiInterface
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