Struct endlessgrid::AStarVisit
source · pub struct AStarVisit<'a, T> {
pub index: (i32, i32),
pub cell: &'a T,
}
Expand description
Struct used by the Grid::astar
Fields§
§index: (i32, i32)
Current index of the cell being visited
cell: &'a T
The cell being visited
Auto Trait Implementations§
impl<'a, T> Freeze for AStarVisit<'a, T>
impl<'a, T> RefUnwindSafe for AStarVisit<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for AStarVisit<'a, T>where
T: Sync,
impl<'a, T> Sync for AStarVisit<'a, T>where
T: Sync,
impl<'a, T> Unpin for AStarVisit<'a, T>
impl<'a, T> UnwindSafe for AStarVisit<'a, T>where
T: RefUnwindSafe,
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