wena/output/
console.rs

1use crate::output::Output;
2
3pub struct ConsoleOutput {
4    // ..
5}
6
7impl ConsoleOutput {
8    pub(crate) fn new() -> Self {
9        ConsoleOutput {
10            // ..
11        }
12    }
13}
14
15impl Output for ConsoleOutput {
16    fn write(&mut self, string: impl Into<String>) {
17        print!("{}", string.into());
18    }
19}