Struct simics_api_sys::bindings::freerun_interface
source · #[repr(C)]pub struct freerun_interface {
pub enabled: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
pub advance_clock: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ps_limit: int64, steps: int64, idle: bool) -> int64>,
pub start_clock: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub stop_clock: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub current_itime: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint64>,
}
Fields§
§enabled: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
§advance_clock: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ps_limit: int64, steps: int64, idle: bool) -> int64>
§start_clock: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§stop_clock: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§current_itime: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint64>
Trait Implementations§
source§impl Clone for freerun_interface
impl Clone for freerun_interface
source§fn clone(&self) -> freerun_interface
fn clone(&self) -> freerun_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 freerun_interface
impl Debug for freerun_interface
source§impl Default for freerun_interface
impl Default for freerun_interface
source§fn default() -> freerun_interface
fn default() -> freerun_interface
Returns the “default value” for a type. Read more
source§impl Hash for freerun_interface
impl Hash for freerun_interface
source§impl Ord for freerun_interface
impl Ord for freerun_interface
source§fn cmp(&self, other: &freerun_interface) -> Ordering
fn cmp(&self, other: &freerun_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 freerun_interface
impl PartialEq for freerun_interface
source§impl PartialOrd for freerun_interface
impl PartialOrd for freerun_interface
impl Copy for freerun_interface
impl Eq for freerun_interface
impl StructuralPartialEq for freerun_interface
Auto Trait Implementations§
impl Freeze for freerun_interface
impl RefUnwindSafe for freerun_interface
impl Send for freerun_interface
impl Sync for freerun_interface
impl Unpin for freerun_interface
impl UnwindSafe for freerun_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
)