#[repr(C)]pub struct register_breakpoint_interface {
pub add_breakpoint: Option<unsafe extern "C" fn(obj: *mut conf_object_t, reg_name: *const c_char, value: uint64, mask: uint64, break_upon_change: bool) -> c_int>,
pub remove_breakpoint: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: c_int) -> bool>,
pub get_breakpoints: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>,
}
Fields§
§add_breakpoint: Option<unsafe extern "C" fn(obj: *mut conf_object_t, reg_name: *const c_char, value: uint64, mask: uint64, break_upon_change: bool) -> c_int>
§remove_breakpoint: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: c_int) -> bool>
§get_breakpoints: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>
Trait Implementations§
source§impl Clone for register_breakpoint_interface
impl Clone for register_breakpoint_interface
source§fn clone(&self) -> register_breakpoint_interface
fn clone(&self) -> register_breakpoint_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 register_breakpoint_interface
impl Default for register_breakpoint_interface
source§fn default() -> register_breakpoint_interface
fn default() -> register_breakpoint_interface
Returns the “default value” for a type. Read more
source§impl Hash for register_breakpoint_interface
impl Hash for register_breakpoint_interface
source§impl Ord for register_breakpoint_interface
impl Ord for register_breakpoint_interface
source§fn cmp(&self, other: ®ister_breakpoint_interface) -> Ordering
fn cmp(&self, other: ®ister_breakpoint_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 register_breakpoint_interface
impl PartialEq for register_breakpoint_interface
source§fn eq(&self, other: ®ister_breakpoint_interface) -> bool
fn eq(&self, other: ®ister_breakpoint_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for register_breakpoint_interface
impl PartialOrd for register_breakpoint_interface
impl Copy for register_breakpoint_interface
impl Eq for register_breakpoint_interface
impl StructuralPartialEq for register_breakpoint_interface
Auto Trait Implementations§
impl Freeze for register_breakpoint_interface
impl RefUnwindSafe for register_breakpoint_interface
impl Send for register_breakpoint_interface
impl Sync for register_breakpoint_interface
impl Unpin for register_breakpoint_interface
impl UnwindSafe for register_breakpoint_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
)