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