Trait InteractionElementOffset

Source
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§

Source

fn element_coordinates(&self) -> ElementPoint

Gets the coordinates of the event relative to the target element.

Provided Methods§

Source

fn coordinates(&self) -> Coordinates

Gets the coordinates of the event.

Implementors§