Struct libdw::raw::Dwfl_Thread_Callbacks
source · [−]#[repr(C)]pub struct Dwfl_Thread_Callbacks {
pub next_thread: Option<unsafe extern "C" fn(*mut Dwfl, *mut c_void, *mut *mut c_void) -> i32>,
pub get_thread: Option<unsafe extern "C" fn(*mut Dwfl, i32, *mut c_void, *mut *mut c_void) -> bool>,
pub memory_read: Option<unsafe extern "C" fn(*mut Dwfl, u64, *mut u64, *mut c_void) -> bool>,
pub set_initial_registers: Option<unsafe extern "C" fn(*mut Dwfl_Thread, *mut c_void) -> bool>,
pub detach: Option<unsafe extern "C" fn(*mut Dwfl, *mut c_void)>,
pub thread_detach: Option<unsafe extern "C" fn(*mut Dwfl_Thread, *mut c_void)>,
}
Fields
next_thread: Option<unsafe extern "C" fn(*mut Dwfl, *mut c_void, *mut *mut c_void) -> i32>
get_thread: Option<unsafe extern "C" fn(*mut Dwfl, i32, *mut c_void, *mut *mut c_void) -> bool>
memory_read: Option<unsafe extern "C" fn(*mut Dwfl, u64, *mut u64, *mut c_void) -> bool>
set_initial_registers: Option<unsafe extern "C" fn(*mut Dwfl_Thread, *mut c_void) -> bool>
detach: Option<unsafe extern "C" fn(*mut Dwfl, *mut c_void)>
thread_detach: Option<unsafe extern "C" fn(*mut Dwfl_Thread, *mut c_void)>
Trait Implementations
sourceimpl Clone for Dwfl_Thread_Callbacks
impl Clone for Dwfl_Thread_Callbacks
sourcefn clone(&self) -> Dwfl_Thread_Callbacks
fn clone(&self) -> Dwfl_Thread_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_Thread_Callbacks
impl Debug for Dwfl_Thread_Callbacks
impl Copy for Dwfl_Thread_Callbacks
Auto Trait Implementations
impl RefUnwindSafe for Dwfl_Thread_Callbacks
impl Send for Dwfl_Thread_Callbacks
impl Sync for Dwfl_Thread_Callbacks
impl Unpin for Dwfl_Thread_Callbacks
impl UnwindSafe for Dwfl_Thread_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