Struct hexagon_tiles::tools::HexOffset
source · pub struct HexOffset;
Implementations§
source§impl HexOffset
impl HexOffset
pub fn q_from_cube(offset: i32, hex: Hex) -> OffsetCoord
pub fn q_to_cube(offset: i32, coord: OffsetCoord) -> Hex
pub fn r_from_cube(offset: i32, hex: Hex) -> OffsetCoord
pub fn r_to_cube(offset: i32, coord: OffsetCoord) -> Hex
Auto Trait Implementations§
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