Struct usbd_hid::descriptor::MouseReport[][src]

#[repr(C, packed)]
pub struct MouseReport { pub buttons: u8, pub x: i8, pub y: i8, pub wheel: i8, pub pan: i8, }
Expand description

MouseReport describes a report and its companion descriptor than can be used to send mouse movements and button presses to a host.

Fields

buttons: u8x: i8y: i8wheel: i8pan: i8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.