Struct simics_api_sys::temporal_state_interface
source · #[repr(C)]pub struct temporal_state_interface {
pub save: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> *mut lang_void>,
pub merge: Option<unsafe extern "C" fn(obj: *mut conf_object_t, prev: *mut lang_void, killed: *mut lang_void)>,
pub prepare_restore: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub finish_restore: Option<unsafe extern "C" fn(obj: *mut conf_object_t, state: *mut lang_void)>,
}
Fields§
§save: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> *mut lang_void>
§merge: Option<unsafe extern "C" fn(obj: *mut conf_object_t, prev: *mut lang_void, killed: *mut lang_void)>
§prepare_restore: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§finish_restore: Option<unsafe extern "C" fn(obj: *mut conf_object_t, state: *mut lang_void)>
Trait Implementations§
source§impl Clone for temporal_state_interface
impl Clone for temporal_state_interface
source§fn clone(&self) -> temporal_state_interface
fn clone(&self) -> temporal_state_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 Debug for temporal_state_interface
impl Debug for temporal_state_interface
source§impl Default for temporal_state_interface
impl Default for temporal_state_interface
source§fn default() -> temporal_state_interface
fn default() -> temporal_state_interface
Returns the “default value” for a type. Read more
source§impl Hash for temporal_state_interface
impl Hash for temporal_state_interface
source§impl Ord for temporal_state_interface
impl Ord for temporal_state_interface
source§fn cmp(&self, other: &temporal_state_interface) -> Ordering
fn cmp(&self, other: &temporal_state_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 temporal_state_interface
impl PartialEq for temporal_state_interface
source§impl PartialOrd for temporal_state_interface
impl PartialOrd for temporal_state_interface
impl Copy for temporal_state_interface
impl Eq for temporal_state_interface
impl StructuralPartialEq for temporal_state_interface
Auto Trait Implementations§
impl Freeze for temporal_state_interface
impl RefUnwindSafe for temporal_state_interface
impl Send for temporal_state_interface
impl Sync for temporal_state_interface
impl Unpin for temporal_state_interface
impl UnwindSafe for temporal_state_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
)