struct Graph {
start: Point,
end: Point,
edges: FastMap<Point, Vec<Point>>,
weight: FastMap<(Point, Point), u32>,
}
Expand description
Undirected weighted graph representing the compressed maze.
Fields§
§start: Point
§end: Point
§edges: FastMap<Point, Vec<Point>>
§weight: FastMap<(Point, Point), u32>
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnwindSafe for Graph
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