Struct libdw::raw::Dwfl_Callbacks
source · [−]#[repr(C)]pub struct Dwfl_Callbacks {
pub find_elf: Option<unsafe extern "C" fn(*mut Dwfl_Module, *mut *mut c_void, *const i8, u64, *mut *mut i8, *mut *mut Elf) -> i32>,
pub find_debuginfo: Option<unsafe extern "C" fn(*mut Dwfl_Module, *mut *mut c_void, *const i8, u64, *const i8, *const i8, u32, *mut *mut i8) -> i32>,
pub section_address: Option<unsafe extern "C" fn(*mut Dwfl_Module, *mut *mut c_void, *const i8, u64, *const i8, u32, *const Elf64_Shdr, *mut u64) -> i32>,
pub debuginfo_path: *mut *mut i8,
}
Fields
find_elf: Option<unsafe extern "C" fn(*mut Dwfl_Module, *mut *mut c_void, *const i8, u64, *mut *mut i8, *mut *mut Elf) -> i32>
find_debuginfo: Option<unsafe extern "C" fn(*mut Dwfl_Module, *mut *mut c_void, *const i8, u64, *const i8, *const i8, u32, *mut *mut i8) -> i32>
section_address: Option<unsafe extern "C" fn(*mut Dwfl_Module, *mut *mut c_void, *const i8, u64, *const i8, u32, *const Elf64_Shdr, *mut u64) -> i32>
debuginfo_path: *mut *mut i8
Trait Implementations
sourceimpl Clone for Dwfl_Callbacks
impl Clone for Dwfl_Callbacks
sourcefn clone(&self) -> Dwfl_Callbacks
fn clone(&self) -> Dwfl_Callbacks
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Dwfl_Callbacks
impl Debug for Dwfl_Callbacks
impl Copy for Dwfl_Callbacks
Auto Trait Implementations
impl RefUnwindSafe for Dwfl_Callbacks
impl !Send for Dwfl_Callbacks
impl !Sync for Dwfl_Callbacks
impl Unpin for Dwfl_Callbacks
impl UnwindSafe for Dwfl_Callbacks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more