Enum aoc_pos::DirGeoHexLat
source · pub enum DirGeoHexLat {
NorthWest,
NorthEast,
East,
SouthEast,
SouthWest,
West,
}
Variants§
Implementations§
source§impl DirGeoHexLat
impl DirGeoHexLat
pub fn soft_right(self) -> Self
pub fn hard_right(self) -> Self
pub fn around(self) -> Self
pub fn hard_left(self) -> Self
pub fn soft_left(self) -> Self
Trait Implementations§
source§impl Add<TurnHex> for DirGeoHexLat
impl Add<TurnHex> for DirGeoHexLat
source§impl Clone for DirGeoHexLat
impl Clone for DirGeoHexLat
source§fn clone(&self) -> DirGeoHexLat
fn clone(&self) -> DirGeoHexLat
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 DirGeoHexLat
impl Debug for DirGeoHexLat
source§impl PartialEq<DirGeoHexLat> for DirGeoHexLat
impl PartialEq<DirGeoHexLat> for DirGeoHexLat
source§fn eq(&self, other: &DirGeoHexLat) -> bool
fn eq(&self, other: &DirGeoHexLat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DirGeoHexLat
impl Eq for DirGeoHexLat
impl StructuralEq for DirGeoHexLat
impl StructuralPartialEq for DirGeoHexLat
Auto Trait Implementations§
impl RefUnwindSafe for DirGeoHexLat
impl Send for DirGeoHexLat
impl Sync for DirGeoHexLat
impl Unpin for DirGeoHexLat
impl UnwindSafe for DirGeoHexLat
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