pub struct SynthesizeScrollGestureParamsBuilder { /* private fields */ }Implementations§
Source§impl SynthesizeScrollGestureParamsBuilder
impl SynthesizeScrollGestureParamsBuilder
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<SynthesizeScrollGestureParams, String>
Trait Implementations§
Source§impl Clone for SynthesizeScrollGestureParamsBuilder
impl Clone for SynthesizeScrollGestureParamsBuilder
Source§fn clone(&self) -> SynthesizeScrollGestureParamsBuilder
fn clone(&self) -> SynthesizeScrollGestureParamsBuilder
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 SynthesizeScrollGestureParamsBuilder
impl Default for SynthesizeScrollGestureParamsBuilder
Source§fn default() -> SynthesizeScrollGestureParamsBuilder
fn default() -> SynthesizeScrollGestureParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SynthesizeScrollGestureParamsBuilder
impl RefUnwindSafe for SynthesizeScrollGestureParamsBuilder
impl Send for SynthesizeScrollGestureParamsBuilder
impl Sync for SynthesizeScrollGestureParamsBuilder
impl Unpin for SynthesizeScrollGestureParamsBuilder
impl UnwindSafe for SynthesizeScrollGestureParamsBuilder
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