#[repr(C)]pub struct x86_instrumentation_subscribe_v2_interface {
pub register_mode_enter_cb: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, cb: x86_mode_switch_cb_t, user_data: *mut lang_void) -> *mut cpu_cb_handle_t>,
pub register_mode_leave_cb: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, cb: x86_mode_switch_cb_t, user_data: *mut lang_void) -> *mut cpu_cb_handle_t>,
pub register_illegal_instruction_cb: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, cb: cpu_instruction_decoder_cb_t, disass_cb: cpu_instruction_disassemble_cb_t, data: *mut lang_void) -> *mut cpu_cb_handle_t>,
}
Fields§
§register_mode_enter_cb: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, cb: x86_mode_switch_cb_t, user_data: *mut lang_void) -> *mut cpu_cb_handle_t>
§register_mode_leave_cb: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, cb: x86_mode_switch_cb_t, user_data: *mut lang_void) -> *mut cpu_cb_handle_t>
§register_illegal_instruction_cb: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, cb: cpu_instruction_decoder_cb_t, disass_cb: cpu_instruction_disassemble_cb_t, data: *mut lang_void) -> *mut cpu_cb_handle_t>
Trait Implementations§
source§impl Clone for x86_instrumentation_subscribe_v2_interface
impl Clone for x86_instrumentation_subscribe_v2_interface
source§fn clone(&self) -> x86_instrumentation_subscribe_v2_interface
fn clone(&self) -> x86_instrumentation_subscribe_v2_interface
Returns a copy 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 Default for x86_instrumentation_subscribe_v2_interface
impl Default for x86_instrumentation_subscribe_v2_interface
source§fn default() -> x86_instrumentation_subscribe_v2_interface
fn default() -> x86_instrumentation_subscribe_v2_interface
Returns the “default value” for a type. Read more
source§impl Ord for x86_instrumentation_subscribe_v2_interface
impl Ord for x86_instrumentation_subscribe_v2_interface
source§fn cmp(&self, other: &x86_instrumentation_subscribe_v2_interface) -> Ordering
fn cmp(&self, other: &x86_instrumentation_subscribe_v2_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for x86_instrumentation_subscribe_v2_interface
impl PartialEq for x86_instrumentation_subscribe_v2_interface
source§fn eq(&self, other: &x86_instrumentation_subscribe_v2_interface) -> bool
fn eq(&self, other: &x86_instrumentation_subscribe_v2_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for x86_instrumentation_subscribe_v2_interface
impl PartialOrd for x86_instrumentation_subscribe_v2_interface
impl Copy for x86_instrumentation_subscribe_v2_interface
impl Eq for x86_instrumentation_subscribe_v2_interface
impl StructuralPartialEq for x86_instrumentation_subscribe_v2_interface
Auto Trait Implementations§
impl Freeze for x86_instrumentation_subscribe_v2_interface
impl RefUnwindSafe for x86_instrumentation_subscribe_v2_interface
impl Send for x86_instrumentation_subscribe_v2_interface
impl Sync for x86_instrumentation_subscribe_v2_interface
impl Unpin for x86_instrumentation_subscribe_v2_interface
impl UnwindSafe for x86_instrumentation_subscribe_v2_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)