Skip to main content

PopEntryObject

Trait PopEntryObject 

Source
pub trait PopEntryObject: Sized + 'static {
    // Required methods
    fn on_pop_invoked_with_result(
        self: Handle<Self>,
        app: &mut App,
        did_pop: bool,
        result: RouteResult,
    );
    fn can_pop_notifier(
        self: Handle<Self>,
        app: &App,
    ) -> Rc<dyn ValueListenable<bool>>;
}
Expand description

The object side of PopEntry: an arena object a ModalRoute registers. Implementing it makes Handle<Self> a PopEntry.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§