pub struct SynthesizePinchGestureParamsBuilder { /* private fields */ }Implementations§
Source§impl SynthesizePinchGestureParamsBuilder
impl SynthesizePinchGestureParamsBuilder
Sourcepub fn relative_speed(self, relative_speed: i64) -> Self
pub fn relative_speed(self, relative_speed: i64) -> Self
Relative pointer speed in pixels per second (default: 800).
Sourcepub fn gesture_source_type(
self,
gesture_source_type: impl Into<GestureSourceType>,
) -> Self
pub fn gesture_source_type( self, gesture_source_type: impl Into<GestureSourceType>, ) -> Self
Which type of input events to be generated (default: ‘default’, which queries the platform for the preferred input type).
pub fn build(self) -> SynthesizePinchGestureParams
Auto Trait Implementations§
impl Freeze for SynthesizePinchGestureParamsBuilder
impl RefUnwindSafe for SynthesizePinchGestureParamsBuilder
impl Send for SynthesizePinchGestureParamsBuilder
impl Sync for SynthesizePinchGestureParamsBuilder
impl Unpin for SynthesizePinchGestureParamsBuilder
impl UnsafeUnpin for SynthesizePinchGestureParamsBuilder
impl UnwindSafe for SynthesizePinchGestureParamsBuilder
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