pub struct App {Show 22 fields
pub query: String,
pub all_entries: Vec<TryEntry>,
pub filtered_entries: Vec<TryEntry>,
pub selected_index: usize,
pub should_quit: bool,
pub final_selection: SelectionResult,
pub mode: AppMode,
pub status_message: Option<String>,
pub base_path: PathBuf,
pub theme: Theme,
pub editor_cmd: Option<String>,
pub wants_editor: bool,
pub apply_date_prefix: Option<bool>,
pub transparent_background: bool,
pub available_themes: Vec<Theme>,
pub theme_list_state: ListState,
pub original_theme: Option<Theme>,
pub original_transparent_background: Option<bool>,
pub config_path: Option<PathBuf>,
pub config_location_state: ListState,
pub cached_free_space_mb: Option<u64>,
pub folder_size_mb: Arc<AtomicU64>,
}Fields§
§query: String§all_entries: Vec<TryEntry>§filtered_entries: Vec<TryEntry>§selected_index: usize§should_quit: bool§final_selection: SelectionResult§mode: AppMode§status_message: Option<String>§base_path: PathBuf§theme: Theme§editor_cmd: Option<String>§wants_editor: bool§apply_date_prefix: Option<bool>§transparent_background: bool§available_themes: Vec<Theme>§theme_list_state: ListState§original_theme: Option<Theme>§original_transparent_background: Option<bool>§config_path: Option<PathBuf>§config_location_state: ListState§cached_free_space_mb: Option<u64>§folder_size_mb: Arc<AtomicU64>Implementations§
Auto Trait Implementations§
impl Freeze for App
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnwindSafe for App
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> 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