Struct hexagon_tiles::hexagon::Hex
source · pub struct Hex { /* private fields */ }
Implementations§
Trait Implementations§
source§impl HexRotation for Hex
impl HexRotation for Hex
fn rotate_left(&self) -> Hex
fn rotate_right(&self) -> Hex
source§impl HexUtility for Hex
impl HexUtility for Hex
impl Copy for Hex
impl Eq for Hex
impl StructuralPartialEq for Hex
Auto Trait Implementations§
impl RefUnwindSafe for Hex
impl Send for Hex
impl Sync for Hex
impl Unpin for Hex
impl UnwindSafe for Hex
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