MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / delete_delay

Method delete_delay

src/parser/script_parser.rs:56–60  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

54
55impl Command {
56 pub(crate) fn delete_delay(&mut self) {
57 if let Command::Figure { delay, .. } | Command::Move { delay, .. } = self {
58 delay.take();
59 }
60 }
61
62 pub(crate) fn change_position(&mut self, pos: &str) {
63 if let Command::Figure { position, .. } | Command::Move { position, .. } = self {

Callers 1

start_timerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected