pub struct IdConsumerReport {
pub report_id: u8,
pub report: ConsumerReport,
}Expand description
Composite report for Consumer Control, prefixed with REPORT_ID_CONSUMER (3 bytes).
Fields§
§report_id: u8Report ID (always REPORT_ID_CONSUMER).
report: ConsumerReportConsumer report payload.
Implementations§
Source§impl IdConsumerReport
impl IdConsumerReport
Sourcepub const fn new(report: ConsumerReport) -> Self
pub const fn new(report: ConsumerReport) -> Self
Create a new composite consumer report.
Trait Implementations§
Source§impl Clone for IdConsumerReport
impl Clone for IdConsumerReport
impl Copy for IdConsumerReport
Source§impl Debug for IdConsumerReport
impl Debug for IdConsumerReport
Source§impl Default for IdConsumerReport
impl Default for IdConsumerReport
impl Eq for IdConsumerReport
Source§impl Format for IdConsumerReportwhere
ConsumerReport: Format,
impl Format for IdConsumerReportwhere
ConsumerReport: Format,
Source§impl PartialEq for IdConsumerReport
impl PartialEq for IdConsumerReport
impl StructuralPartialEq for IdConsumerReport
Auto Trait Implementations§
impl Forget for IdConsumerReport
impl Freeze for IdConsumerReport
impl Move for IdConsumerReport
impl RefUnwindSafe for IdConsumerReport
impl Send for IdConsumerReport
impl Sync for IdConsumerReport
impl Unpin for IdConsumerReport
impl UnsafeUnpin for IdConsumerReport
impl UnwindSafe for IdConsumerReport
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