Struct simics_api_sys::step_interface
source · #[repr(C)]pub struct step_interface {
pub get_step_count: Option<unsafe extern "C" fn(queue: *mut conf_object_t) -> pc_step_t>,
pub post_step: Option<unsafe extern "C" fn(queue: *mut conf_object_t, evclass: *mut event_class_t, obj: *mut conf_object_t, steps: pc_step_t, user_data: *mut lang_void)>,
pub cancel_step: Option<unsafe extern "C" fn(queue: *mut conf_object_t, evclass: *mut event_class_t, obj: *mut conf_object_t, pred: Option<unsafe extern "C" fn(data: *mut lang_void, match_data: *mut lang_void) -> c_int>, match_data: *mut lang_void)>,
pub find_next_step: Option<unsafe extern "C" fn(queue: *mut conf_object_t, evclass: *mut event_class_t, obj: *mut conf_object_t, pred: Option<unsafe extern "C" fn(data: *mut lang_void, match_data: *mut lang_void) -> c_int>, match_data: *mut lang_void) -> pc_step_t>,
pub events: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>,
pub advance: Option<unsafe extern "C" fn(queue: *mut conf_object_t, steps: pc_step_t) -> pc_step_t>,
}
Fields§
§get_step_count: Option<unsafe extern "C" fn(queue: *mut conf_object_t) -> pc_step_t>
§post_step: Option<unsafe extern "C" fn(queue: *mut conf_object_t, evclass: *mut event_class_t, obj: *mut conf_object_t, steps: pc_step_t, user_data: *mut lang_void)>
§cancel_step: Option<unsafe extern "C" fn(queue: *mut conf_object_t, evclass: *mut event_class_t, obj: *mut conf_object_t, pred: Option<unsafe extern "C" fn(data: *mut lang_void, match_data: *mut lang_void) -> c_int>, match_data: *mut lang_void)>
§find_next_step: Option<unsafe extern "C" fn(queue: *mut conf_object_t, evclass: *mut event_class_t, obj: *mut conf_object_t, pred: Option<unsafe extern "C" fn(data: *mut lang_void, match_data: *mut lang_void) -> c_int>, match_data: *mut lang_void) -> pc_step_t>
§events: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> attr_value_t>
§advance: Option<unsafe extern "C" fn(queue: *mut conf_object_t, steps: pc_step_t) -> pc_step_t>
Trait Implementations§
source§impl Clone for step_interface
impl Clone for step_interface
source§fn clone(&self) -> step_interface
fn clone(&self) -> step_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 step_interface
impl Debug for step_interface
source§impl Default for step_interface
impl Default for step_interface
source§fn default() -> step_interface
fn default() -> step_interface
Returns the “default value” for a type. Read more
source§impl Hash for step_interface
impl Hash for step_interface
source§impl Ord for step_interface
impl Ord for step_interface
source§fn cmp(&self, other: &step_interface) -> Ordering
fn cmp(&self, other: &step_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 step_interface
impl PartialEq for step_interface
source§impl PartialOrd for step_interface
impl PartialOrd for step_interface
impl Copy for step_interface
impl Eq for step_interface
impl StructuralPartialEq for step_interface
Auto Trait Implementations§
impl Freeze for step_interface
impl RefUnwindSafe for step_interface
impl Send for step_interface
impl Sync for step_interface
impl Unpin for step_interface
impl UnwindSafe for step_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
)