pub struct HexOffset(/* private fields */);
Expand description
Offset based coordinates for hex graph.
Implementations§
Trait Implementations§
Source§impl Ord for HexOffset
impl Ord for HexOffset
Source§impl PartialOrd for HexOffset
impl PartialOrd for HexOffset
impl Coordinate for HexOffset
impl Copy for HexOffset
impl Eq for HexOffset
impl StructuralPartialEq for HexOffset
Auto Trait Implementations§
impl Freeze for HexOffset
impl RefUnwindSafe for HexOffset
impl Send for HexOffset
impl Sync for HexOffset
impl Unpin for HexOffset
impl UnwindSafe for HexOffset
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> ConstOrValue<T> for T
impl<T> ConstOrValue<T> for T
Source§const IS_CONST_WRAP: bool = false
const IS_CONST_WRAP: bool = false
get wheter the type is const generic wrapper.
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.