Struct simics::api::interface::interfaces::BreakpointTypeInterface
source · pub struct BreakpointTypeInterface {
obj: *mut ConfObject,
interface: *mut breakpoint_type_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut breakpoint_type_interface
Implementations§
source§impl BreakpointTypeInterface
impl BreakpointTypeInterface
sourcepub fn register_type(
&mut self,
name: *const c_char,
provider: *mut conf_object_t,
args: attr_value_t,
cls: *const c_char,
iface: *const c_char,
docs: attr_value_t,
object_required: bool,
temporary_default: bool,
recursive: bool,
) -> Result<bool>
pub fn register_type( &mut self, name: *const c_char, provider: *mut conf_object_t, args: attr_value_t, cls: *const c_char, iface: *const c_char, docs: attr_value_t, object_required: bool, temporary_default: bool, recursive: bool, ) -> Result<bool>
Automatically generated method for the interface
sourcepub fn trigger(
&mut self,
provider: *mut conf_object_t,
bp_id: uint64,
trigger: *mut conf_object_t,
msg: *const c_char,
) -> Result<bool>
pub fn trigger( &mut self, provider: *mut conf_object_t, bp_id: uint64, trigger: *mut conf_object_t, msg: *const c_char, ) -> Result<bool>
Automatically generated method for the interface
sourcepub fn get_break_id(&mut self, bm_id: uint64) -> Result<uint64>
pub fn get_break_id(&mut self, bm_id: uint64) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn get_manager_id(
&mut self,
provider: *mut conf_object_t,
bp_id: uint64,
) -> Result<uint64>
pub fn get_manager_id( &mut self, provider: *mut conf_object_t, bp_id: uint64, ) -> Result<uint64>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for BreakpointTypeInterface
impl Interface for BreakpointTypeInterface
source§const NAME: &'static [u8] = crate::api::sys::BREAKPOINT_TYPE_INTERFACE
const NAME: &'static [u8] = crate::api::sys::BREAKPOINT_TYPE_INTERFACE
The name of the interface
source§type InternalInterface = breakpoint_type_interface
type InternalInterface = breakpoint_type_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 BreakpointTypeInterface
impl RefUnwindSafe for BreakpointTypeInterface
impl !Send for BreakpointTypeInterface
impl !Sync for BreakpointTypeInterface
impl Unpin for BreakpointTypeInterface
impl UnwindSafe for BreakpointTypeInterface
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