Playing with tables.

This commit is contained in:
Rhinemann 2023-06-28 00:29:48 +03:00
parent ed4a9f08cd
commit 52065cbc37
2 changed files with 3 additions and 3 deletions

View File

@ -15,4 +15,4 @@ strip = true # Strip symbols from binary*
[dependencies]
text_io = "0.1.12"
prettytable-rs = "0.10.0"
#tabled = "0.12.2"
tabled = "0.12.2"

View File

@ -88,7 +88,7 @@ impl BasicRegister {
self.memory.len()
}
/*pub fn table(&self) -> Table {
pub fn table(&self) -> Table {
let mut table = Table::new();
let mut memory_row: Vec<Cell> = vec![Cell::new("Memory")];
@ -98,7 +98,7 @@ impl BasicRegister {
table.add_row(Row::new(memory_row));
table
}*/
}
}
impl Default for BasicRegister {