[][src]Struct libdw_sys::Dwfl_Callbacks

#[repr(C)]
pub struct Dwfl_Callbacks {
    pub find_elf: Option<unsafe extern "C" fn(mod_: *mut Dwfl_Module, userdata: *mut *mut c_void, modname: *const c_char, base: Dwarf_Addr, file_name: *mut *mut c_char, elfp: *mut *mut Elf) -> c_int>,
    pub find_debuginfo: Option<unsafe extern "C" fn(mod_: *mut Dwfl_Module, userdata: *mut *mut c_void, modname: *const c_char, base: Dwarf_Addr, file_name: *const c_char, debuglink_file: *const c_char, debuglink_crc: GElf_Word, debuginfo_file_name: *mut *mut c_char) -> c_int>,
    pub section_address: Option<unsafe extern "C" fn(mod_: *mut Dwfl_Module, userdata: *mut *mut c_void, modname: *const c_char, base: Dwarf_Addr, secname: *const c_char, shndx: GElf_Word, shdr: *const GElf_Shdr, addr: *mut Dwarf_Addr) -> c_int>,
    pub debuginfo_path: *mut *mut c_char,
}

Fields

find_elf: Option<unsafe extern "C" fn(mod_: *mut Dwfl_Module, userdata: *mut *mut c_void, modname: *const c_char, base: Dwarf_Addr, file_name: *mut *mut c_char, elfp: *mut *mut Elf) -> c_int>find_debuginfo: Option<unsafe extern "C" fn(mod_: *mut Dwfl_Module, userdata: *mut *mut c_void, modname: *const c_char, base: Dwarf_Addr, file_name: *const c_char, debuglink_file: *const c_char, debuglink_crc: GElf_Word, debuginfo_file_name: *mut *mut c_char) -> c_int>section_address: Option<unsafe extern "C" fn(mod_: *mut Dwfl_Module, userdata: *mut *mut c_void, modname: *const c_char, base: Dwarf_Addr, secname: *const c_char, shndx: GElf_Word, shdr: *const GElf_Shdr, addr: *mut Dwarf_Addr) -> c_int>debuginfo_path: *mut *mut c_char

Trait Implementations

impl Copy for Dwfl_Callbacks[src]

impl Clone for Dwfl_Callbacks[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Dwfl_Callbacks[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]