pub struct SetTouchEmulationEnabledCommand { /* private fields */ }👎Deprecated
Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Expand description
Toggles mouse event-based touch event emulation.
Implementations§
Source§impl SetTouchEmulationEnabledCommand
impl SetTouchEmulationEnabledCommand
pub fn new( enabled: bool, configuration: Option<SetTouchEmulationEnabledCommandConfiguration>, ) -> Self
👎Deprecated
Sourcepub fn enabled(&self) -> bool
👎Deprecated
pub fn enabled(&self) -> bool
Whether the touch event emulation should be enabled.
Sourcepub fn configuration(
&self,
) -> Option<&SetTouchEmulationEnabledCommandConfiguration>
👎Deprecated
pub fn configuration( &self, ) -> Option<&SetTouchEmulationEnabledCommandConfiguration>
Touch/gesture events configuration. Default: current platform.
Trait Implementations§
Source§impl Clone for SetTouchEmulationEnabledCommand
impl Clone for SetTouchEmulationEnabledCommand
Source§fn clone(&self) -> SetTouchEmulationEnabledCommand
fn clone(&self) -> SetTouchEmulationEnabledCommand
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<'de> Deserialize<'de> for SetTouchEmulationEnabledCommand
impl<'de> Deserialize<'de> for SetTouchEmulationEnabledCommand
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
Auto Trait Implementations§
impl Freeze for SetTouchEmulationEnabledCommand
impl RefUnwindSafe for SetTouchEmulationEnabledCommand
impl Send for SetTouchEmulationEnabledCommand
impl Sync for SetTouchEmulationEnabledCommand
impl Unpin for SetTouchEmulationEnabledCommand
impl UnwindSafe for SetTouchEmulationEnabledCommand
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