pub struct App {
pub chat_container: Rc<RefCell<Container>>,
pub status_section: Rc<RefCell<DynamicLines>>,
pub working_section: Rc<RefCell<DynamicLines>>,
/* private fields */
}Expand description
Main application state.
Fields§
§chat_container: Rc<RefCell<Container>>Component-based chat area - mirrors pi’s this.chatContainer.
Components are added here in handle_agent_event instead of pushing to messages.
status_section: Rc<RefCell<DynamicLines>>Status text section (transient, dim).
working_section: Rc<RefCell<DynamicLines>>Working indicator section.
Auto Trait Implementations§
impl !RefUnwindSafe for App
impl !Send for App
impl !Sync for App
impl !UnwindSafe for App
impl Freeze for App
impl Unpin for App
impl UnsafeUnpin 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