#[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 duplicate 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