pub struct SetTouchEmulationEnabled {
pub enabled: bool,
pub configuration: Option<SetTouchEmulationEnabledConfigurationOption>,
}๐Deprecated
Expand description
Toggles mouse event-based touch event emulation.
Fieldsยง
ยงenabled: bool๐Deprecated
Whether the touch event emulation should be enabled.
configuration: Option<SetTouchEmulationEnabledConfigurationOption>๐Deprecated
Touch/gesture events configuration. Default: current platform.
Trait Implementationsยง
Sourceยงimpl Clone for SetTouchEmulationEnabled
impl Clone for SetTouchEmulationEnabled
Sourceยงfn clone(&self) -> SetTouchEmulationEnabled
fn clone(&self) -> SetTouchEmulationEnabled
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 Debug for SetTouchEmulationEnabled
impl Debug for SetTouchEmulationEnabled
Sourceยงimpl<'de> Deserialize<'de> for SetTouchEmulationEnabled
impl<'de> Deserialize<'de> for SetTouchEmulationEnabled
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Method for SetTouchEmulationEnabled
impl Method for SetTouchEmulationEnabled
const NAME: &'static str = "Page.setTouchEmulationEnabled"
type ReturnObject = SetTouchEmulationEnabledReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
impl StructuralPartialEq for SetTouchEmulationEnabled
Auto Trait Implementationsยง
impl Freeze for SetTouchEmulationEnabled
impl RefUnwindSafe for SetTouchEmulationEnabled
impl Send for SetTouchEmulationEnabled
impl Sync for SetTouchEmulationEnabled
impl Unpin for SetTouchEmulationEnabled
impl UnsafeUnpin for SetTouchEmulationEnabled
impl UnwindSafe for SetTouchEmulationEnabled
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