pub struct ScreenState { /* private fields */ }Expand description
Navigation stack state for multi-screen apps.
Tracks screen names in a push/pop stack while preserving the root screen.
Pass this state through your render closure and branch on ScreenState::current.
Implementations§
Trait Implementations§
Source§impl Clone for ScreenState
impl Clone for ScreenState
Source§fn clone(&self) -> ScreenState
fn clone(&self) -> ScreenState
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§
impl Freeze for ScreenState
impl RefUnwindSafe for ScreenState
impl Send for ScreenState
impl Sync for ScreenState
impl Unpin for ScreenState
impl UnsafeUnpin for ScreenState
impl UnwindSafe for ScreenState
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