pub struct SynthesizeTapGestureCommand { /* private fields */ }Available on crate features
Input and experimental only.Expand description
Synthesizes a tap gesture over a time period by issuing appropriate touch events.
Implementations§
Source§impl SynthesizeTapGestureCommand
impl SynthesizeTapGestureCommand
pub fn builder() -> SynthesizeTapGestureCommandBuilder
Sourcepub fn duration(&self) -> Option<&u32>
pub fn duration(&self) -> Option<&u32>
Duration between touchdown and touchup events in ms (default: 50).
Sourcepub fn tap_count(&self) -> Option<&u32>
pub fn tap_count(&self) -> Option<&u32>
Number of times to perform the tap (e.g. 2 for double tap, default: 1).
Sourcepub fn gesture_source_type(&self) -> Option<&JsonValue>
pub fn gesture_source_type(&self) -> Option<&JsonValue>
Which type of input events to be generated (default: ‘default’, which queries the platform for the preferred input type).
Trait Implementations§
Source§impl Clone for SynthesizeTapGestureCommand
impl Clone for SynthesizeTapGestureCommand
Source§fn clone(&self) -> SynthesizeTapGestureCommand
fn clone(&self) -> SynthesizeTapGestureCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SynthesizeTapGestureCommand
impl Debug for SynthesizeTapGestureCommand
Source§impl<'de> Deserialize<'de> for SynthesizeTapGestureCommand
impl<'de> Deserialize<'de> for SynthesizeTapGestureCommand
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 Freeze for SynthesizeTapGestureCommand
impl RefUnwindSafe for SynthesizeTapGestureCommand
impl Send for SynthesizeTapGestureCommand
impl Sync for SynthesizeTapGestureCommand
impl Unpin for SynthesizeTapGestureCommand
impl UnwindSafe for SynthesizeTapGestureCommand
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