pub struct SetTouchEmulationEnabledParams {
pub enabled: bool,
pub max_touch_points: Option<i32>,
}Expand description
Parameters for Emulation.setTouchEmulationEnabled.
Fields§
§enabled: boolWhether touch emulation is enabled.
max_touch_points: Option<i32>Maximum touch points. Defaults to 1.
Trait Implementations§
Source§impl Clone for SetTouchEmulationEnabledParams
impl Clone for SetTouchEmulationEnabledParams
Source§fn clone(&self) -> SetTouchEmulationEnabledParams
fn clone(&self) -> SetTouchEmulationEnabledParams
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 moreAuto Trait Implementations§
impl Freeze for SetTouchEmulationEnabledParams
impl RefUnwindSafe for SetTouchEmulationEnabledParams
impl Send for SetTouchEmulationEnabledParams
impl Sync for SetTouchEmulationEnabledParams
impl Unpin for SetTouchEmulationEnabledParams
impl UnwindSafe for SetTouchEmulationEnabledParams
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