pub struct App { /* private fields */ }
Implementations§
Source§impl App
impl App
pub fn new(logs: Logs) -> Self
pub fn console_state(&self) -> &RefCell<ListState>
pub fn handle_console(&mut self)
pub fn update(&mut self, msg: Message) -> Option<Message>
pub fn handle_event(&self) -> Result<Option<Message>>
pub fn console(&self) -> Vec<String>
pub fn config(&self) -> &Config
pub fn diff_state(&self) -> &DiffState
pub fn diff(&self) -> Option<&Diff>
pub fn set_diff(&mut self, diff_string: &str)
pub fn running_state(&self) -> &RunningState
Trait 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