Struct simics::api::interface::interfaces::BreakpointRegistrationInterface
source · pub struct BreakpointRegistrationInterface {
obj: *mut ConfObject,
interface: *mut breakpoint_registration_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut breakpoint_registration_interface
Implementations§
source§impl BreakpointRegistrationInterface
impl BreakpointRegistrationInterface
sourcepub fn register_breakpoint(
&mut self,
delete_breakpoint: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64)>,
delete_data: cbdata_register_t,
get_properties: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64) -> attr_value_t>,
get_properties_data: cbdata_register_t,
set_enabled: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64, enabled: bool)>,
set_enabled_data: cbdata_register_t,
set_temporary: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64, temporary: bool)>,
set_temporary_data: cbdata_register_t,
set_ignore_count: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64, ignore_count: uint64)>,
set_ignore_count_data: cbdata_register_t,
) -> Result<uint64>
pub fn register_breakpoint( &mut self, delete_breakpoint: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64)>, delete_data: cbdata_register_t, get_properties: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64) -> attr_value_t>, get_properties_data: cbdata_register_t, set_enabled: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64, enabled: bool)>, set_enabled_data: cbdata_register_t, set_temporary: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64, temporary: bool)>, set_temporary_data: cbdata_register_t, set_ignore_count: Option<unsafe extern "C" fn(data: cbdata_call_t, id: uint64, ignore_count: uint64)>, set_ignore_count_data: cbdata_register_t, ) -> Result<uint64>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for BreakpointRegistrationInterface
impl Interface for BreakpointRegistrationInterface
source§const NAME: &'static [u8] = crate::api::sys::BREAKPOINT_REGISTRATION_INTERFACE
const NAME: &'static [u8] = crate::api::sys::BREAKPOINT_REGISTRATION_INTERFACE
The name of the interface
source§type InternalInterface = breakpoint_registration_interface
type InternalInterface = breakpoint_registration_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for BreakpointRegistrationInterface
impl RefUnwindSafe for BreakpointRegistrationInterface
impl !Send for BreakpointRegistrationInterface
impl !Sync for BreakpointRegistrationInterface
impl Unpin for BreakpointRegistrationInterface
impl UnwindSafe for BreakpointRegistrationInterface
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