Struct floating_ui_utils::ClientRectObject
source · pub struct ClientRectObject {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub top: f64,
pub right: f64,
pub bottom: f64,
pub left: f64,
}
Fields§
§x: f64
§y: f64
§width: f64
§height: f64
§top: f64
§right: f64
§bottom: f64
§left: f64
Implementations§
source§impl ClientRectObject
impl ClientRectObject
pub fn from_dom_rect_list(value: DomRectList) -> Vec<Self>
Trait Implementations§
source§impl Clone for ClientRectObject
impl Clone for ClientRectObject
source§fn clone(&self) -> ClientRectObject
fn clone(&self) -> ClientRectObject
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 ClientRectObject
impl Debug for ClientRectObject
source§impl From<DomRect> for ClientRectObject
impl From<DomRect> for ClientRectObject
Auto Trait Implementations§
impl Freeze for ClientRectObject
impl RefUnwindSafe for ClientRectObject
impl Send for ClientRectObject
impl Sync for ClientRectObject
impl Unpin for ClientRectObject
impl UnwindSafe for ClientRectObject
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