pub struct AppState {
pub current_view: ViewType,
pub tools: Vec<Tool>,
pub selected_tool_index: Option<usize>,
}Expand description
Application state management
Fields§
§current_view: ViewType§tools: Vec<Tool>§selected_tool_index: Option<usize>Implementations§
Trait Implementations§
impl StructuralPartialEq for AppState
Auto Trait Implementations§
impl Freeze for AppState
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