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