pub struct IdGamepadReport {
pub report_id: u8,
pub report: GamepadReport,
}Expand description
Composite report for a Gamepad, prefixed with REPORT_ID_GAMEPAD (8 bytes).
Fields§
§report_id: u8Report ID (always REPORT_ID_GAMEPAD).
report: GamepadReportGamepad report payload.
Implementations§
Source§impl IdGamepadReport
impl IdGamepadReport
Sourcepub const fn new(report: GamepadReport) -> Self
pub const fn new(report: GamepadReport) -> Self
Create a new composite gamepad report.
Trait Implementations§
Source§impl Clone for IdGamepadReport
impl Clone for IdGamepadReport
impl Copy for IdGamepadReport
Source§impl Debug for IdGamepadReport
impl Debug for IdGamepadReport
Source§impl Default for IdGamepadReport
impl Default for IdGamepadReport
impl Eq for IdGamepadReport
Source§impl Format for IdGamepadReportwhere
GamepadReport: Format,
impl Format for IdGamepadReportwhere
GamepadReport: Format,
Source§impl PartialEq for IdGamepadReport
impl PartialEq for IdGamepadReport
impl StructuralPartialEq for IdGamepadReport
Auto Trait Implementations§
impl Forget for IdGamepadReport
impl Freeze for IdGamepadReport
impl Move for IdGamepadReport
impl RefUnwindSafe for IdGamepadReport
impl Send for IdGamepadReport
impl Sync for IdGamepadReport
impl Unpin for IdGamepadReport
impl UnsafeUnpin for IdGamepadReport
impl UnwindSafe for IdGamepadReport
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