MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / Navigator

Class Navigator

src/navigation/mod.rs:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1use std::collections::{VecDeque, HashMap};
2
3pub struct Navigator {
4 route_stack: VecDeque<Route>,
5 transitions: HashMap<(RouteType, RouteType), Box<dyn Transition>>,
6 current_route: Option<RouteType>,
7}
8
9#[derive(Clone, Eq, PartialEq)]
10pub struct Route {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected