#[repr(C)]pub struct _dr_module_import_t {
pub modname: *const c_char,
pub module_import_desc: *mut dr_module_import_desc_t,
}Expand description
Module import data returned from dr_module_import_iterator_next().
String fields point into the importing module image. Robust clients should use DR_TRY_EXCEPT while inspecting the strings in case the module is partially mapped or the app racily unmaps it. The iterator routines themselves handle faults by stopping the iteration.
\note ELF does not import directly from other modules.
Fields§
§modname: *const c_charSpecified name of the imported module or API set.
module_import_desc: *mut dr_module_import_desc_tOpaque handle that can be passed to dr_symbol_import_iterator_start(). Valid until the original module is unmapped.
Trait Implementations§
Source§impl Clone for _dr_module_import_t
impl Clone for _dr_module_import_t
Source§fn clone(&self) -> _dr_module_import_t
fn clone(&self) -> _dr_module_import_t
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 _dr_module_import_t
impl Debug for _dr_module_import_t
impl Copy for _dr_module_import_t
Auto Trait Implementations§
impl Freeze for _dr_module_import_t
impl RefUnwindSafe for _dr_module_import_t
impl !Send for _dr_module_import_t
impl !Sync for _dr_module_import_t
impl Unpin for _dr_module_import_t
impl UnwindSafe for _dr_module_import_t
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