Struct simics_api_sys::bindings::checkpoint_interface
source · #[repr(C)]pub struct checkpoint_interface {
pub save: Option<unsafe extern "C" fn(obj: *mut conf_object_t, path: *const c_char)>,
pub finish: Option<unsafe extern "C" fn(obj: *mut conf_object_t, success: c_int)>,
pub has_persistent_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
}
Fields§
§save: Option<unsafe extern "C" fn(obj: *mut conf_object_t, path: *const c_char)>
§finish: Option<unsafe extern "C" fn(obj: *mut conf_object_t, success: c_int)>
§has_persistent_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>
Trait Implementations§
source§impl Clone for checkpoint_interface
impl Clone for checkpoint_interface
source§fn clone(&self) -> checkpoint_interface
fn clone(&self) -> checkpoint_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 checkpoint_interface
impl Debug for checkpoint_interface
source§impl Default for checkpoint_interface
impl Default for checkpoint_interface
source§fn default() -> checkpoint_interface
fn default() -> checkpoint_interface
Returns the “default value” for a type. Read more
source§impl Hash for checkpoint_interface
impl Hash for checkpoint_interface
source§impl Ord for checkpoint_interface
impl Ord for checkpoint_interface
source§fn cmp(&self, other: &checkpoint_interface) -> Ordering
fn cmp(&self, other: &checkpoint_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 checkpoint_interface
impl PartialEq for checkpoint_interface
source§impl PartialOrd for checkpoint_interface
impl PartialOrd for checkpoint_interface
impl Copy for checkpoint_interface
impl Eq for checkpoint_interface
impl StructuralPartialEq for checkpoint_interface
Auto Trait Implementations§
impl Freeze for checkpoint_interface
impl RefUnwindSafe for checkpoint_interface
impl Send for checkpoint_interface
impl Sync for checkpoint_interface
impl Unpin for checkpoint_interface
impl UnwindSafe for checkpoint_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
)