Playing with tables.
This commit is contained in:
parent
ed4a9f08cd
commit
52065cbc37
|
@ -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"
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue