Struct simics::api::interface::interfaces::TemporalStateInterface
source · pub struct TemporalStateInterface {
obj: *mut ConfObject,
interface: *mut temporal_state_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut temporal_state_interface
Implementations§
source§impl TemporalStateInterface
impl TemporalStateInterface
sourcepub fn save(&mut self) -> Result<*mut lang_void>
pub fn save(&mut self) -> Result<*mut lang_void>
Automatically generated method for the interface
sourcepub fn merge(
&mut self,
prev: *mut lang_void,
killed: *mut lang_void,
) -> Result<()>
pub fn merge( &mut self, prev: *mut lang_void, killed: *mut lang_void, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn prepare_restore(&mut self) -> Result<()>
pub fn prepare_restore(&mut self) -> Result<()>
Automatically generated method for the interface
sourcepub fn finish_restore(&mut self, state: *mut lang_void) -> Result<()>
pub fn finish_restore(&mut self, state: *mut lang_void) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for TemporalStateInterface
impl Interface for TemporalStateInterface
source§const NAME: &'static [u8] = crate::api::sys::TEMPORAL_STATE_INTERFACE
const NAME: &'static [u8] = crate::api::sys::TEMPORAL_STATE_INTERFACE
The name of the interface
source§type InternalInterface = temporal_state_interface
type InternalInterface = temporal_state_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 TemporalStateInterface
impl RefUnwindSafe for TemporalStateInterface
impl !Send for TemporalStateInterface
impl !Sync for TemporalStateInterface
impl Unpin for TemporalStateInterface
impl UnwindSafe for TemporalStateInterface
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