Skip to main content

RoutePresentationCallback

Type Alias RoutePresentationCallback 

Source
pub type RoutePresentationCallback = Rc<dyn Fn(&mut App, Handle<NavigatorState>, Option<RestorationData>) -> String>;
Expand description

Signature for the callback that presents the route a RestorableRouteFuture tracks.

The callback must use one of the restorable* methods and return the restoration ID it produced.

Aliased Typeยง

pub struct RoutePresentationCallback { /* private fields */ }