pub trait RouteAwareObject: Sized + 'static {
// Provided methods
fn did_pop_next(self: Handle<Self>, app: &mut App) { ... }
fn did_push(self: Handle<Self>, app: &mut App) { ... }
fn did_pop(self: Handle<Self>, app: &mut App) { ... }
fn did_push_next(self: Handle<Self>, app: &mut App) { ... }
}Expand description
The object side of RouteAware: an arena object a RouteObserver informs. Implementing
it makes Handle<Self> a RouteAware; Dart’s empty default bodies are the defaults here.
Provided Methods§
Sourcefn did_pop_next(self: Handle<Self>, app: &mut App)
fn did_pop_next(self: Handle<Self>, app: &mut App)
Sourcefn did_push(self: Handle<Self>, app: &mut App)
fn did_push(self: Handle<Self>, app: &mut App)
See RouteAware::did_push.
Sourcefn did_pop(self: Handle<Self>, app: &mut App)
fn did_pop(self: Handle<Self>, app: &mut App)
See RouteAware::did_pop.
Sourcefn did_push_next(self: Handle<Self>, app: &mut App)
fn did_push_next(self: Handle<Self>, app: &mut App)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".