pub struct SynthesizeScrollGestureCommand { /* private fields */ }Input and experimental only.Expand description
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
Implementations§
Source§impl SynthesizeScrollGestureCommand
impl SynthesizeScrollGestureCommand
pub fn builder() -> SynthesizeScrollGestureCommandBuilder
Sourcepub fn x_distance(&self) -> Option<&f64>
pub fn x_distance(&self) -> Option<&f64>
The distance to scroll along the X axis (positive to scroll left).
Sourcepub fn y_distance(&self) -> Option<&f64>
pub fn y_distance(&self) -> Option<&f64>
The distance to scroll along the Y axis (positive to scroll up).
Sourcepub fn x_overscroll(&self) -> Option<&f64>
pub fn x_overscroll(&self) -> Option<&f64>
The number of additional pixels to scroll back along the X axis, in addition to the given distance.
Sourcepub fn y_overscroll(&self) -> Option<&f64>
pub fn y_overscroll(&self) -> Option<&f64>
The number of additional pixels to scroll back along the Y axis, in addition to the given distance.
Sourcepub fn prevent_fling(&self) -> Option<&bool>
pub fn prevent_fling(&self) -> Option<&bool>
Prevent fling (default: true).
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).
Sourcepub fn repeat_count(&self) -> Option<&u32>
pub fn repeat_count(&self) -> Option<&u32>
The number of times to repeat the gesture (default: 0).
Sourcepub fn repeat_delay_ms(&self) -> Option<&u32>
pub fn repeat_delay_ms(&self) -> Option<&u32>
The number of milliseconds delay between each repeat. (default: 250).
Sourcepub fn interaction_marker_name(&self) -> Option<&String>
pub fn interaction_marker_name(&self) -> Option<&String>
The name of the interaction markers to generate, if not empty (default: “”).
Trait Implementations§
Source§impl Clone for SynthesizeScrollGestureCommand
impl Clone for SynthesizeScrollGestureCommand
Source§fn clone(&self) -> SynthesizeScrollGestureCommand
fn clone(&self) -> SynthesizeScrollGestureCommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more