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