Struct webdriver::response::ElementRectResponse
source · pub struct ElementRectResponse {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}
Fields§
§x: f64
X axis position of the top-left corner of the element relative to the current browsing context’s document element in CSS reference pixels.
y: f64
Y axis position of the top-left corner of the element relative to the current browsing context’s document element in CSS reference pixels.
width: f64
Height of the element’s bounding rectangle in CSS reference pixels.
height: f64
Width of the element’s bounding rectangle in CSS reference pixels.
Trait Implementations§
source§impl Debug for ElementRectResponse
impl Debug for ElementRectResponse
source§impl PartialEq<ElementRectResponse> for ElementRectResponse
impl PartialEq<ElementRectResponse> for ElementRectResponse
source§fn eq(&self, other: &ElementRectResponse) -> bool
fn eq(&self, other: &ElementRectResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.