Skip to main content

RouteListFactory

Type Alias RouteListFactory 

Source
pub type RouteListFactory = Rc<dyn Fn(&mut App, Handle<NavigatorState>, &str) -> Vec<RouteRef>>;
Expand description

Creates a series of one or more routes.

Used by Navigator::on_generate_initial_routes.

Aliased Typeยง

pub struct RouteListFactory { /* private fields */ }