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