waft-material 0.15.0

Material Design widgets for Waft
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! How a back gesture moves through a pane scene's entries.

/// How a back gesture moves through a pane scene's entries.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Default)]
pub enum BackNavigationBehavior {
    /// Remove exactly one entry.
    PopLatest,
    /// Remove entries until the shown panes change; the default.
    #[default]
    PopUntilScaffoldValueChange,
    /// Remove entries until the current destination's pane changes.
    PopUntilCurrentDestinationChange,
    /// Remove entries until the current destination's content or the shown panes change.
    PopUntilContentChange,
}