pub struct SynthesizePinchGestureParamsBuilder { /* private fields */ }
Implementations
sourceimpl SynthesizePinchGestureParamsBuilder
impl SynthesizePinchGestureParamsBuilder
pub fn x(self, x: impl Into<f64>) -> SynthesizePinchGestureParamsBuilder
pub fn y(self, y: impl Into<f64>) -> SynthesizePinchGestureParamsBuilder
pub fn scale_factor(
self,
scale_factor: impl Into<f64>
) -> SynthesizePinchGestureParamsBuilder
pub fn relative_speed(
self,
relative_speed: impl Into<i64>
) -> SynthesizePinchGestureParamsBuilder
pub fn gesture_source_type(
self,
gesture_source_type: impl Into<GestureSourceType>
) -> SynthesizePinchGestureParamsBuilder
pub fn build(self) -> Result<SynthesizePinchGestureParams, String>
Trait Implementations
sourceimpl Clone for SynthesizePinchGestureParamsBuilder
impl Clone for SynthesizePinchGestureParamsBuilder
sourcefn clone(&self) -> SynthesizePinchGestureParamsBuilder
fn clone(&self) -> SynthesizePinchGestureParamsBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SynthesizePinchGestureParamsBuilder
impl Default for SynthesizePinchGestureParamsBuilder
sourcefn default() -> SynthesizePinchGestureParamsBuilder
fn default() -> SynthesizePinchGestureParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SynthesizePinchGestureParamsBuilder
impl Send for SynthesizePinchGestureParamsBuilder
impl Sync for SynthesizePinchGestureParamsBuilder
impl Unpin for SynthesizePinchGestureParamsBuilder
impl UnwindSafe for SynthesizePinchGestureParamsBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more