pub struct TouchTapPayload<S> {
pub settings: S,
pub coordinates: Option<Coordinates>,
pub tap_pos: (u8, u8),
pub hold: bool,
}Expand description
Additional information about a touch tap event.
Fields§
§settings: SThe stored settings for the action instance.
coordinates: Option<Coordinates>The location of the action triggered.
tap_pos: (u8, u8)The coordinates of the touch event within the LCD slot associated with the action.
hold: boolWhether the tap was long.
Trait Implementations§
Source§impl<S: Debug> Debug for TouchTapPayload<S>
impl<S: Debug> Debug for TouchTapPayload<S>
Source§impl<'de, S> Deserialize<'de> for TouchTapPayload<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for TouchTapPayload<S>where
S: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<S> Freeze for TouchTapPayload<S>where
S: Freeze,
impl<S> RefUnwindSafe for TouchTapPayload<S>where
S: RefUnwindSafe,
impl<S> Send for TouchTapPayload<S>where
S: Send,
impl<S> Sync for TouchTapPayload<S>where
S: Sync,
impl<S> Unpin for TouchTapPayload<S>where
S: Unpin,
impl<S> UnsafeUnpin for TouchTapPayload<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for TouchTapPayload<S>where
S: 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