pub struct Quad2D {
pub x: u64,
pub y: u64,
}
Expand description
Geometric point in Cartesian 2D Space. X and Y values. Backed by two u64
’s
Fields§
§x: u64
§y: u64
Trait Implementations§
Source§impl EncodablePoint2D<16> for Quad2D
impl EncodablePoint2D<16> for Quad2D
Source§impl Ord for Quad2D
impl Ord for Quad2D
Source§impl PartialOrd for Quad2D
impl PartialOrd for Quad2D
impl Copy for Quad2D
impl Eq for Quad2D
impl StructuralPartialEq for Quad2D
Auto Trait Implementations§
impl Freeze for Quad2D
impl RefUnwindSafe for Quad2D
impl Send for Quad2D
impl Sync for Quad2D
impl Unpin for Quad2D
impl UnwindSafe for Quad2D
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