pub struct InputReport<T0, T1, T2, T3, T4, T5, T6, T7> {
pub event_time: T0,
pub keyboard: T1,
pub media_buttons: T2,
pub mouse: T3,
pub stylus: T4,
pub touchscreen: T5,
pub sensor: T6,
pub trace_id: T7,
}Expand description
The generic type corresponding to InputReport.
Fields§
§event_time: T0§keyboard: T1§mouse: T3§stylus: T4§touchscreen: T5§sensor: T6§trace_id: T7Trait Implementations§
Source§impl<___E, T0, T1, T2, T3, T4, T5, T6, T7> Encode<InputReport<'static>, ___E> for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<Uint64, ___E>,
T1: Encode<Box<'static, KeyboardReport<'static>>, ___E>,
T2: Encode<Box<'static, MediaButtonsReport>, ___E>,
T3: Encode<Box<'static, MouseReport>, ___E>,
T4: Encode<Box<'static, StylusReport>, ___E>,
T5: Encode<Box<'static, TouchscreenReport<'static>>, ___E>,
T6: Encode<SensorReport<'static>, ___E>,
T7: Encode<Uint64, ___E>,
impl<___E, T0, T1, T2, T3, T4, T5, T6, T7> Encode<InputReport<'static>, ___E> for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<Uint64, ___E>,
T1: Encode<Box<'static, KeyboardReport<'static>>, ___E>,
T2: Encode<Box<'static, MediaButtonsReport>, ___E>,
T3: Encode<Box<'static, MouseReport>, ___E>,
T4: Encode<Box<'static, StylusReport>, ___E>,
T5: Encode<Box<'static, TouchscreenReport<'static>>, ___E>,
T6: Encode<SensorReport<'static>, ___E>,
T7: Encode<Uint64, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<InputReport<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<InputReport<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4, T5, T6, T7> Freeze for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>
impl<T0, T1, T2, T3, T4, T5, T6, T7> RefUnwindSafe for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
T6: RefUnwindSafe,
T7: RefUnwindSafe,
impl<T0, T1, T2, T3, T4, T5, T6, T7> Send for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>
impl<T0, T1, T2, T3, T4, T5, T6, T7> Sync for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>
impl<T0, T1, T2, T3, T4, T5, T6, T7> Unpin for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>
impl<T0, T1, T2, T3, T4, T5, T6, T7> UnsafeUnpin for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>where
T0: UnsafeUnpin,
T1: UnsafeUnpin,
T2: UnsafeUnpin,
T3: UnsafeUnpin,
T4: UnsafeUnpin,
T5: UnsafeUnpin,
T6: UnsafeUnpin,
T7: UnsafeUnpin,
impl<T0, T1, T2, T3, T4, T5, T6, T7> UnwindSafe for InputReport<T0, T1, T2, T3, T4, T5, T6, T7>where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
T6: UnwindSafe,
T7: UnwindSafe,
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]