pub struct AStar {
pub heuristic: Box<dyn Fn(usize, usize, &Graph) -> f32>,
}
Fields§
§heuristic: Box<dyn Fn(usize, usize, &Graph) -> f32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AStar
impl !RefUnwindSafe for AStar
impl !Send for AStar
impl !Sync for AStar
impl Unpin for AStar
impl !UnwindSafe for AStar
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