pub struct SynthesizeScrollGestureBuilder { /* private fields */ }Implementations§
Source§impl SynthesizeScrollGestureBuilder
impl SynthesizeScrollGestureBuilder
pub fn x(self, x: impl Into<f64>) -> Self
pub fn y(self, y: impl Into<f64>) -> Self
pub fn x_distance(self, x_distance: impl Into<f64>) -> Self
pub fn y_distance(self, y_distance: impl Into<f64>) -> Self
pub fn x_overscroll(self, x_overscroll: impl Into<f64>) -> Self
pub fn y_overscroll(self, y_overscroll: impl Into<f64>) -> Self
pub fn prevent_fling(self, prevent_fling: impl Into<bool>) -> Self
pub fn speed(self, speed: impl Into<i64>) -> Self
pub fn gesture_source_type( self, gesture_source_type: impl Into<GestureSourceType>, ) -> Self
pub fn repeat_count(self, repeat_count: impl Into<i64>) -> Self
pub fn repeat_delay_ms(self, repeat_delay_ms: impl Into<i64>) -> Self
pub fn interaction_marker_name( self, interaction_marker_name: impl Into<String>, ) -> Self
pub fn build(self) -> Result<SynthesizeScrollGesture, String>
Trait Implementations§
Source§impl Clone for SynthesizeScrollGestureBuilder
impl Clone for SynthesizeScrollGestureBuilder
Source§fn clone(&self) -> SynthesizeScrollGestureBuilder
fn clone(&self) -> SynthesizeScrollGestureBuilder
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 Default for SynthesizeScrollGestureBuilder
impl Default for SynthesizeScrollGestureBuilder
Source§fn default() -> SynthesizeScrollGestureBuilder
fn default() -> SynthesizeScrollGestureBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SynthesizeScrollGestureBuilder
impl RefUnwindSafe for SynthesizeScrollGestureBuilder
impl Send for SynthesizeScrollGestureBuilder
impl Sync for SynthesizeScrollGestureBuilder
impl Unpin for SynthesizeScrollGestureBuilder
impl UnsafeUnpin for SynthesizeScrollGestureBuilder
impl UnwindSafe for SynthesizeScrollGestureBuilder
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