pub struct ScreenEntry {
pub name: &'static str,
pub build: ScreenFn,
}Expand description
A navigation entry on the stack.
Fields§
§name: &'static strHuman-readable name of the screen (used for debugging / transitions).
build: ScreenFnThe constructor for this screen.
Trait Implementations§
Source§impl Clone for ScreenEntry
impl Clone for ScreenEntry
Source§fn clone(&self) -> ScreenEntry
fn clone(&self) -> ScreenEntry
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 ScreenEntry
impl RefUnwindSafe for ScreenEntry
impl Send for ScreenEntry
impl Sync for ScreenEntry
impl Unpin for ScreenEntry
impl UnsafeUnpin for ScreenEntry
impl UnwindSafe for ScreenEntry
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