pub struct Touchscreen { /* private fields */ }Expand description
Touch input device. Touch emulation is enabled once, lazily, on the first
Touchscreen::tap; the enabled flag is shared across all clones produced
from the same page (mirroring Playwright’s persistent page.touchscreen()).
Implementations§
Source§impl Touchscreen
impl Touchscreen
Trait Implementations§
Source§impl Clone for Touchscreen
impl Clone for Touchscreen
Source§fn clone(&self) -> Touchscreen
fn clone(&self) -> Touchscreen
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for Touchscreen
impl !UnwindSafe for Touchscreen
impl Freeze for Touchscreen
impl Send for Touchscreen
impl Sync for Touchscreen
impl Unpin for Touchscreen
impl UnsafeUnpin for Touchscreen
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