pub enum PageNavigation {
SystemStart,
SystemStop,
Update,
Left,
Right,
Up,
NthSubpage(usize),
Home,
}Expand description
Page navigation events dispatched by pagemanager
Variants§
SystemStart
Start the HMI.
SystemStop
Stop the HMI.
Update
Stay at the active page and initiate an update.
Left
Navigate to the left page.
Right
Navigate to the right page.
Up
Navigate one page up.
NthSubpage(usize)
Navigate down the n-th subpage. Start counting with one.
Home
Event to go to home page.
Trait Implementations§
Source§fn clone(&self) -> PageNavigation
fn clone(&self) -> PageNavigation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more