pub struct SideObject {
pub top: f64,
pub bottom: f64,
pub left: f64,
pub right: f64,
}
Fields§
§top: f64
§bottom: f64
§left: f64
§right: f64
Trait Implementations§
Source§impl Clone for SideObject
impl Clone for SideObject
Source§fn clone(&self) -> SideObject
fn clone(&self) -> SideObject
Returns a duplicate 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 From<ClientRectObject> for SideObject
impl From<ClientRectObject> for SideObject
Source§fn from(child: ClientRectObject) -> Self
fn from(child: ClientRectObject) -> Self
Converts to this type from the input type.
Source§impl Index<&Side> for SideObject
impl Index<&Side> for SideObject
Source§impl IndexMut<&Side> for SideObject
impl IndexMut<&Side> for SideObject
Source§impl TryFrom<JsValue> for SideObject
impl TryFrom<JsValue> for SideObject
Auto Trait Implementations§
impl Freeze for SideObject
impl RefUnwindSafe for SideObject
impl Send for SideObject
impl Sync for SideObject
impl Unpin for SideObject
impl UnwindSafe for SideObject
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