Struct marionette::result::ElementRect
source · pub struct ElementRect {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}
Fields§
§x: f64
§y: f64
§width: f64
§height: f64
Trait Implementations§
source§impl Clone for ElementRect
impl Clone for ElementRect
source§fn clone(&self) -> ElementRect
fn clone(&self) -> ElementRect
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ElementRect
impl Debug for ElementRect
source§impl<'de> Deserialize<'de> for ElementRect
impl<'de> Deserialize<'de> for ElementRect
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ElementRect> for ElementRect
impl PartialEq<ElementRect> for ElementRect
source§fn eq(&self, other: &ElementRect) -> bool
fn eq(&self, other: &ElementRect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.