pub struct AppState {
pub stage: Stage,
pub root: PathBuf,
pub other_panel_path: Option<PathBuf>,
}
Expand description
global mutable state
Fields§
§stage: Stage
§root: PathBuf
the current root, updated when a panel with this concept becomes active or changes its root
other_panel_path: Option<PathBuf>
the selected path in another panel than the currently active one, if any
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnwindSafe for AppState
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