pub struct TouchScreen {
inner: Weak<Page>,
}Expand description
The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the
touchscreen can only be used in browser contexts that have been initialized with hasTouch set to true.
Fields§
§inner: Weak<Page>Implementations§
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 · 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 TouchScreen
impl RefUnwindSafe for TouchScreen
impl Send for TouchScreen
impl Sync for TouchScreen
impl Unpin for TouchScreen
impl UnwindSafe 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