MCPcopy Index your code
hub / github.com/RustOtomeLab/RustEng / update_figures

Method update_figures

src/script.rs:121–132  ·  view source on GitHub ↗
(
        &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;

Callers 1

parse_blockMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected