Skip to main content

MazeSolver

Trait MazeSolver 

Source
pub trait MazeSolver {
    // Required method
    fn solve(
        &self,
        maze: &Wall4Grid,
        start: GridCoord2D,
        end: GridCoord2D,
    ) -> Option<Path>;
}

Required Methods§

Source

fn solve( &self, maze: &Wall4Grid, start: GridCoord2D, end: GridCoord2D, ) -> Option<Path>

Implementors§