pub struct RectangularCoordinates {
pub x: f64,
pub y: f64,
}
Expand description
Cartesian (x, y) coordinates
Fields§
§x: f64
§y: f64
Trait Implementations§
Source§impl Clone for RectangularCoordinates
impl Clone for RectangularCoordinates
Source§fn clone(&self) -> RectangularCoordinates
fn clone(&self) -> RectangularCoordinates
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RectangularCoordinates
impl Debug for RectangularCoordinates
Source§impl PartialEq for RectangularCoordinates
impl PartialEq for RectangularCoordinates
Source§fn eq(&self, other: &RectangularCoordinates) -> bool
fn eq(&self, other: &RectangularCoordinates) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RectangularCoordinates
Auto Trait Implementations§
impl Freeze for RectangularCoordinates
impl RefUnwindSafe for RectangularCoordinates
impl Send for RectangularCoordinates
impl Sync for RectangularCoordinates
impl Unpin for RectangularCoordinates
impl UnwindSafe for RectangularCoordinates
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