CustomNavigationController

Trait CustomNavigationController 

Source
pub trait CustomNavigationController: 'static {
    // Required methods
    fn push(&mut self, content: NavigationView);
    fn pop(&mut self);
}
Expand description

A trait for handling custom navigation actions. For renderers to implement navigation handling.

Required Methods§

Source

fn push(&mut self, content: NavigationView)

Pushes a new navigation view onto the stack.

§Arguments
  • content - The navigation view to push
Source

fn pop(&mut self)

Pops the top navigation view off the stack.

Implementors§