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