pub struct SynthesizeScrollGestureParamsBuilder { /* private fields */ }
Implementations§
Source§impl SynthesizeScrollGestureParamsBuilder
impl SynthesizeScrollGestureParamsBuilder
pub fn x(self, x: impl Into<f64>) -> SynthesizeScrollGestureParamsBuilder
pub fn y(self, y: impl Into<f64>) -> SynthesizeScrollGestureParamsBuilder
pub fn x_distance( self, x_distance: impl Into<f64>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn y_distance( self, y_distance: impl Into<f64>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn x_overscroll( self, x_overscroll: impl Into<f64>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn y_overscroll( self, y_overscroll: impl Into<f64>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn prevent_fling( self, prevent_fling: impl Into<bool>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn speed( self, speed: impl Into<i64>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn gesture_source_type( self, gesture_source_type: impl Into<GestureSourceType>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn repeat_count( self, repeat_count: impl Into<i64>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn repeat_delay_ms( self, repeat_delay_ms: impl Into<i64>, ) -> SynthesizeScrollGestureParamsBuilder
pub fn interaction_marker_name( self, interaction_marker_name: impl Into<String>, ) -> SynthesizeScrollGestureParamsBuilder
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 copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more