pub struct TouchButtonsEvent {
pub event_time: Option<i64>,
pub device_info: Option<TouchDeviceInfo>,
pub pressed_buttons: Option<Vec<TouchButton>>,
pub wake_lease: Option<EventPair>,
pub trace_flow_id: Option<u64>,
}Fields§
§event_time: Option<i64>§device_info: Option<TouchDeviceInfo>§wake_lease: Option<EventPair>§trace_flow_id: Option<u64>Trait Implementations§
Source§impl Debug for TouchButtonsEvent
impl Debug for TouchButtonsEvent
Source§impl Default for TouchButtonsEvent
impl Default for TouchButtonsEvent
Source§fn default() -> TouchButtonsEvent
fn default() -> TouchButtonsEvent
Returns the “default value” for a type. Read more
Source§impl<___E> Encode<TouchButtonsEvent<'static>, ___E> for TouchButtonsEventwhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<TouchButtonsEvent<'static>, ___E> for TouchButtonsEventwhere
___E: Encoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TouchButtonsEvent<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TouchButtonsEvent<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<TouchButtonsEvent<'de>> for TouchButtonsEvent
impl<'de> FromWire<TouchButtonsEvent<'de>> for TouchButtonsEvent
Source§fn from_wire(wire_: TouchButtonsEvent<'de>) -> Self
fn from_wire(wire_: TouchButtonsEvent<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for TouchButtonsEvent
impl PartialEq for TouchButtonsEvent
impl StructuralPartialEq for TouchButtonsEvent
Auto Trait Implementations§
impl Freeze for TouchButtonsEvent
impl RefUnwindSafe for TouchButtonsEvent
impl Send for TouchButtonsEvent
impl Sync for TouchButtonsEvent
impl Unpin for TouchButtonsEvent
impl UnsafeUnpin for TouchButtonsEvent
impl UnwindSafe for TouchButtonsEvent
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, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§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]