struct Coords {
x: i64,
y: i64,
}
Expand description
A pair of 2d coordinates. Used for the button press delta’s and the prize target
Fields§
§x: i64
§y: i64
Trait Implementations§
source§impl FromStr for Coords
impl FromStr for Coords
impl Copy for Coords
impl Eq for Coords
impl StructuralPartialEq for Coords
Auto Trait Implementations§
impl Freeze for Coords
impl RefUnwindSafe for Coords
impl Send for Coords
impl Sync for Coords
impl Unpin for Coords
impl UnwindSafe for Coords
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.