pub trait View<T> {
// Required methods
fn wr(
&mut self,
x: u16,
y: u16,
st: u16,
bgc: u16,
fgc: u16,
msg: &String
) -> Result<(), Box<dyn Error>>;
fn reg(&mut self, c: Vec<T>);
fn col(&self, n: u16) -> T;
}
Expand description
trait View