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