MCPcopy Create free account
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
120impl Script {
121 pub(crate) fn new() -> Script {
122 Script {
123 name: String::new(),
124 explain: String::new(),
125 backlog_offset: 0,
126 backlog: Vec::new(),
127 commands: Vec::new(),
128 current_block: 0,
129 read_block: 0,
130 current_bgm: String::new(),
131 pre_voice: None,
132 timeline: Timeline::default(),
133 clear: HashSet::new(),
134 labels: HashMap::new(),
135 pre_items: PreItems::default(),

Callers 1

parse_blockMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected