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 for ElementRectResponse
impl PartialEq 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 ==
.source§impl Serialize for ElementRectResponse
impl Serialize for ElementRectResponse
impl StructuralPartialEq for ElementRectResponse
Auto Trait Implementations§
impl Freeze for ElementRectResponse
impl RefUnwindSafe for ElementRectResponse
impl Send for ElementRectResponse
impl Sync for ElementRectResponse
impl Unpin for ElementRectResponse
impl UnwindSafe for ElementRectResponse
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