Struct versatiles::shared::TileCoord2
source · pub struct TileCoord2 { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for TileCoord2
impl Clone for TileCoord2
source§fn clone(&self) -> TileCoord2
fn clone(&self) -> TileCoord2
Returns a copy of the value. Read more
1.0.0 · 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 TileCoord2
impl Debug for TileCoord2
source§impl Hash for TileCoord2
impl Hash for TileCoord2
source§impl PartialEq<TileCoord2> for TileCoord2
impl PartialEq<TileCoord2> for TileCoord2
source§fn eq(&self, other: &TileCoord2) -> bool
fn eq(&self, other: &TileCoord2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TileCoord2> for TileCoord2
impl PartialOrd<TileCoord2> for TileCoord2
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 Eq for TileCoord2
impl StructuralEq for TileCoord2
impl StructuralPartialEq for TileCoord2
Auto Trait Implementations§
impl RefUnwindSafe for TileCoord2
impl Send for TileCoord2
impl Sync for TileCoord2
impl Unpin for TileCoord2
impl UnwindSafe for TileCoord2
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.