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

Method push

src/navigation/mod.rs:72–79  ·  view source on GitHub ↗
(&mut self, route: Route)

Source from the content-addressed store, hash-verified

70 }
71
72 pub fn push(&mut self, route: Route) {
73 let transition = self.get_transition(
74 self.route_stack.back().map(|r| &r.route_type),
75 Some(&route.route_type),
76 );
77 transition.begin();
78 self.route_stack.push_back(route);
79 }
80
81 pub fn pop(&mut self) -> Option<Route> {
82 let transition = self.get_transition(

Callers 12

rebuild_uiMethod · 0.80
start_desktop_buildMethod · 0.80
start_ios_simulatorMethod · 0.80
start_web_serverMethod · 0.80
childMethod · 0.80
recalculate_layoutMethod · 0.80
childMethod · 0.80
on_gestureMethod · 0.80
subscribeMethod · 0.80
rebuild_uiMethod · 0.80
mainFunction · 0.80

Calls 2

get_transitionMethod · 0.80
beginMethod · 0.80

Tested by

no test coverage detected