MCPcopy Create free account
hub / github.com/SharpCoder/teensycore / reset

Method reset

src/gate.rs:133–140  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

131 }
132
133 pub fn reset(&mut self) {
134 self.current_index = 0;
135 self.conditions.clear();
136 self.functions.clear();
137 self.target_times.clear();
138 self.durations.clear();
139 self.compiled = false;
140 }
141
142 // This method will evaluate the current
143 // gate condition and, if true, execute

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected