Struct virtio_bindings::virtio_input::virtio_input_event
source · #[repr(C)]pub struct virtio_input_event {
pub type_: __le16,
pub code: __le16,
pub value: __le32,
}Fields§
§type_: __le16§code: __le16§value: __le32Trait Implementations§
source§impl Clone for virtio_input_event
impl Clone for virtio_input_event
source§fn clone(&self) -> virtio_input_event
fn clone(&self) -> virtio_input_event
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 virtio_input_event
impl Debug for virtio_input_event
source§impl Default for virtio_input_event
impl Default for virtio_input_event
source§fn default() -> virtio_input_event
fn default() -> virtio_input_event
Returns the “default value” for a type. Read more
source§impl PartialEq for virtio_input_event
impl PartialEq for virtio_input_event
impl Copy for virtio_input_event
impl StructuralPartialEq for virtio_input_event
Auto Trait Implementations§
impl Freeze for virtio_input_event
impl RefUnwindSafe for virtio_input_event
impl Send for virtio_input_event
impl Sync for virtio_input_event
impl Unpin for virtio_input_event
impl UnwindSafe for virtio_input_event
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)