Skip to main content

PopPageCallback

Type Alias PopPageCallback 

Source
pub type PopPageCallback = Rc<dyn Fn(&mut App, AnyRoute, Option<Rc<dyn Any>>) -> bool>;
Expand description

Signature for the Navigator::on_pop_page callback.

This callback must call AnyRoute::did_pop on the specified route and must properly update the pages list the next time it is passed into Navigator::pages so that it no longer includes the corresponding Page.

Aliased Typeยง

pub struct PopPageCallback { /* private fields */ }