pub trait ISystemNavigationManagerImpl {
// Required method
fn back_requested(
&self,
handler: Rc<dyn Fn(&Rc<RoutedEventArgs>)>,
) -> Rc<dyn IDisposable>;
}Expand description
The system navigation of a platform: tells when the user asks to go back (a hardware or system back button, a back gesture).
Required Methods§
Sourcefn back_requested(
&self,
handler: Rc<dyn Fn(&Rc<RoutedEventArgs>)>,
) -> Rc<dyn IDisposable>
fn back_requested( &self, handler: Rc<dyn Fn(&Rc<RoutedEventArgs>)>, ) -> Rc<dyn IDisposable>
Occurs when a back navigation has been requested. The handler receives the event arguments of the request; marking them as handled tells the platform that the request has been dealt with.
The arguments are shared so that a handler can pass them on to a routed event raised through the dispatcher.
Disposing the returned value removes the handler.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".