pub struct Size2d {
pub width: f64,
pub height: f64,
}
Expand description
2D size with double-precision floating-point dimensions
Fields§
§width: f64
§height: f64
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Size2d
impl<'de> Deserialize<'de> for Size2d
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
impl Copy for Size2d
impl StructuralPartialEq for Size2d
Auto Trait Implementations§
impl Freeze for Size2d
impl RefUnwindSafe for Size2d
impl Send for Size2d
impl Sync for Size2d
impl Unpin for Size2d
impl UnwindSafe for Size2d
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