pub struct Coordinate2 { /* private fields */ }Expand description
A raw two-dimensional coordinate pair.
Implementations§
Source§impl Coordinate2
impl Coordinate2
Trait Implementations§
Source§impl Clone for Coordinate2
impl Clone for Coordinate2
Source§fn clone(&self) -> Coordinate2
fn clone(&self) -> Coordinate2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Coordinate2
impl Debug for Coordinate2
Source§impl PartialEq for Coordinate2
impl PartialEq for Coordinate2
Source§fn eq(&self, other: &Coordinate2) -> bool
fn eq(&self, other: &Coordinate2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Coordinate2
impl StructuralPartialEq for Coordinate2
Auto Trait Implementations§
impl Freeze for Coordinate2
impl RefUnwindSafe for Coordinate2
impl Send for Coordinate2
impl Sync for Coordinate2
impl Unpin for Coordinate2
impl UnsafeUnpin for Coordinate2
impl UnwindSafe for Coordinate2
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