pub struct AppController {
pub model: AppModel,
/* private fields */
}Fields§
§model: AppModelImplementations§
Source§impl AppController
impl AppController
pub fn handle_key( &mut self, key: KeyEvent, tool_events: &UnboundedSender<ToolEvent>, )
pub fn handle_mouse(&mut self, mouse: MouseEvent)
Source§impl AppController
impl AppController
pub fn handle_tool_event(&mut self, event: ToolEvent)
Source§impl AppController
impl AppController
pub fn new( config: AppConfig, project_root: PathBuf, config_path: PathBuf, ) -> Self
pub fn new_with_templates( config: AppConfig, project_root: PathBuf, config_path: PathBuf, templates: TemplateLoadState, ) -> Self
pub fn should_quit(&self) -> bool
pub fn on_tick(&mut self)
pub fn set_focused_section(&mut self, section: SectionFocus)
Auto Trait Implementations§
impl Freeze for AppController
impl RefUnwindSafe for AppController
impl Send for AppController
impl Sync for AppController
impl Unpin for AppController
impl UnsafeUnpin for AppController
impl UnwindSafe for AppController
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