pub struct Point2D {
pub x: f64,
pub y: f64,
}Expand description
A 2D point
Fields§
§x: f64§y: f64Implementations§
Trait Implementations§
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 UnsafeUnpin 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