pub struct SideObject {
pub top: f64,
pub right: f64,
pub bottom: f64,
pub left: f64,
}
Fields§
§top: f64
§right: f64
§bottom: f64
§left: f64
Implementations§
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 Debug for SideObject
impl Debug for SideObject
Source§impl<'de> Deserialize<'de> for SideObject
impl<'de> Deserialize<'de> for SideObject
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 SideObject
impl PartialEq for SideObject
Source§impl Serialize for SideObject
impl Serialize for SideObject
impl StructuralPartialEq 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