pub enum AppScreen {
MainMenu(MainMenuScreen),
LibraryBrowse(LibraryBrowseScreen),
Search(SearchScreen),
Settings(SettingsScreen),
Browse(BrowseScreen),
Execute(ExecuteScreen),
Result(ResultScreen),
ResultDetail(ResultDetailScreen),
GameDetail(Box<GameDetailScreen>),
Download(DownloadScreen),
}Expand description
All possible high-level screens in the TUI.
App holds exactly one of these at a time and delegates both
rendering and key handling based on the current variant.
Variants§
MainMenu(MainMenuScreen)
LibraryBrowse(LibraryBrowseScreen)
Search(SearchScreen)
Settings(SettingsScreen)
Browse(BrowseScreen)
Execute(ExecuteScreen)
Result(ResultScreen)
ResultDetail(ResultDetailScreen)
GameDetail(Box<GameDetailScreen>)
Download(DownloadScreen)
Auto Trait Implementations§
impl Freeze for AppScreen
impl RefUnwindSafe for AppScreen
impl Send for AppScreen
impl Sync for AppScreen
impl Unpin for AppScreen
impl UnsafeUnpin for AppScreen
impl UnwindSafe for AppScreen
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more