Trait endbasic_std::program::Program [−][src]
pub trait Program { fn edit<'life0, 'life1, 'async_trait>(
&'life0 mut self,
console: &'life1 mut dyn Console
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; fn load(&mut self, text: &str); fn text(&self) -> String; }
Expand description
Representation of the single program that we can keep in memory.
Required methods
Edits the program interactively via the given console
.