Struct simics::api::interface::interfaces::RamAccessSubscribeInterface
source · pub struct RamAccessSubscribeInterface {
obj: *mut ConfObject,
interface: *mut ram_access_subscribe_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut ram_access_subscribe_interface
Implementations§
source§impl RamAccessSubscribeInterface
impl RamAccessSubscribeInterface
sourcepub fn remove_callback(&mut self, handle: *mut ram_cb_handle_t) -> Result<()>
pub fn remove_callback(&mut self, handle: *mut ram_cb_handle_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn enable_callback(&mut self, handle: *mut ram_cb_handle_t) -> Result<()>
pub fn enable_callback(&mut self, handle: *mut ram_cb_handle_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn disable_callback(&mut self, handle: *mut ram_cb_handle_t) -> Result<()>
pub fn disable_callback(&mut self, handle: *mut ram_cb_handle_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn register_access_before_cb(
&mut self,
conn_obj: *mut conf_object_t,
cb: ram_access_cb_t,
data: *mut lang_void,
) -> Result<*mut ram_cb_handle_t>
pub fn register_access_before_cb( &mut self, conn_obj: *mut conf_object_t, cb: ram_access_cb_t, data: *mut lang_void, ) -> Result<*mut ram_cb_handle_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for RamAccessSubscribeInterface
impl Interface for RamAccessSubscribeInterface
source§const NAME: &'static [u8] = crate::api::sys::RAM_ACCESS_SUBSCRIBE_INTERFACE
const NAME: &'static [u8] = crate::api::sys::RAM_ACCESS_SUBSCRIBE_INTERFACE
The name of the interface
source§type InternalInterface = ram_access_subscribe_interface
type InternalInterface = ram_access_subscribe_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 RamAccessSubscribeInterface
impl RefUnwindSafe for RamAccessSubscribeInterface
impl !Send for RamAccessSubscribeInterface
impl !Sync for RamAccessSubscribeInterface
impl Unpin for RamAccessSubscribeInterface
impl UnwindSafe for RamAccessSubscribeInterface
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