Output

Trait Output 

Source
pub trait Output {
    // Required methods
    fn print(&mut self, what: String) -> Result<()>;
    fn output(&self) -> Option<String>;
}
Expand description

Trait which Context is using to access or redirect the µcad code’s console output.

Required Methods§

Source

fn print(&mut self, what: String) -> Result<()>

Print into output buffer.

Source

fn output(&self) -> Option<String>

Access captured output.

Implementors§