pub trait InteractionElementOffset: InteractionLocation {
// Required method
fn element_coordinates(&self) -> ElementPoint;
// Provided method
fn coordinates(&self) -> Coordinates { ... }
}
Expand description
A interaction that contains data about the location of the event.
Required Methods§
Sourcefn element_coordinates(&self) -> ElementPoint
fn element_coordinates(&self) -> ElementPoint
Gets the coordinates of the event relative to the target element.
Provided Methods§
Sourcefn coordinates(&self) -> Coordinates
fn coordinates(&self) -> Coordinates
Gets the coordinates of the event.