Method
update_figures
(
&mut self,
index: usize,
distance: &str,
position: &str,
command: Command,
)
Source from the content-addressed store, hash-verified
| 119 | } |
| 120 | |
| 121 | pub(crate) fn update_figures( |
| 122 | &mut self, |
| 123 | index: usize, |
| 124 | distance: &str, |
| 125 | position: &str, |
| 126 | command: Command, |
| 127 | ) { |
| 128 | self.figures |
| 129 | .entry(index) |
| 130 | .or_default() |
| 131 | .push(distance, position, command); |
| 132 | } |
| 133 | |
| 134 | pub(crate) fn set_backlog(&mut self, backlog: Vec<BackLog>) { |
| 135 | self.backlog = backlog; |
Tested by
no test coverage detected