Struct rotated_grid::GridPoint
source · pub struct GridPoint {
pub x: f64,
pub y: f64,
}
Fields§
§x: f64
The X coordinate along the grid.
y: f64
The y coordinate along the grid.
Implementations§
Trait Implementations§
source§impl PartialEq<GridPoint> for GridPoint
impl PartialEq<GridPoint> for GridPoint
source§impl PartialOrd<GridPoint> for GridPoint
impl PartialOrd<GridPoint> for GridPoint
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for GridPoint
Auto Trait Implementations§
impl RefUnwindSafe for GridPoint
impl Send for GridPoint
impl Sync for GridPoint
impl Unpin for GridPoint
impl UnwindSafe for GridPoint
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