pub struct TouchPoint { /* private fields */ }
Implementations§
Source§impl TouchPoint
impl TouchPoint
Trait Implementations§
Source§impl Debug for TouchPoint
impl Debug for TouchPoint
Source§impl<E: HasTouchPointData> From<E> for TouchPoint
impl<E: HasTouchPointData> From<E> for TouchPoint
Source§impl InteractionLocation for TouchPoint
impl InteractionLocation for TouchPoint
Source§fn client_coordinates(&self) -> ClientPoint
fn client_coordinates(&self) -> ClientPoint
Gets the coordinates of the event relative to the browser viewport.
Source§fn page_coordinates(&self) -> PagePoint
fn page_coordinates(&self) -> PagePoint
Gets the coordinates of the event relative to the page.
Source§fn screen_coordinates(&self) -> ScreenPoint
fn screen_coordinates(&self) -> ScreenPoint
Gets the coordinates of the event relative to the screen.
Auto Trait Implementations§
impl Freeze for TouchPoint
impl !RefUnwindSafe for TouchPoint
impl !Send for TouchPoint
impl !Sync for TouchPoint
impl Unpin for TouchPoint
impl !UnwindSafe for TouchPoint
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.