pub enum AppScreen {
Loading,
StartMenu,
LoadData,
StatisticsView,
FilterView,
ExportScreen,
SaveState,
LoadState,
Error,
Exit,
Help,
}Expand description
Represents the different screens or views available in the application’s TUI.
Variants§
Loading
A screen displayed while data is being loaded or processed.
StartMenu
The initial menu screen where users can choose actions.
LoadData
Screen for loading data from a file or external source.
StatisticsView
Shows statistical summaries of the data.
FilterView
Screen for applying and viewing data filters.
ExportScreen
Screen for exporting data.
SaveState
Screen for saving application state.
LoadState
Screen for loading application state.
Error
An error screen to display error messages.
Exit
Exits the application.
Help
Displays help information and keybindings.
Implementations§
Trait Implementations§
impl Copy for AppScreen
impl StructuralPartialEq for AppScreen
Auto Trait Implementations§
impl Freeze for AppScreen
impl RefUnwindSafe for AppScreen
impl Send for AppScreen
impl Sync for AppScreen
impl Unpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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