MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / new_disabled

Method new_disabled

tests/binary/impl/src/main.rs:23–27  ·  view source on GitHub ↗

Another constructor for a disabled counter

(name: &'static str, limit: u32)

Source from the content-addressed store, hash-verified

21 fn wait(&self, _millis: u64, _nanos: i32) {}
22}
23
24struct NonConflictingWait;
25
26impl NonConflictingWait {
27 fn wait(&self, value: i32) -> i32 {
28 value + 1
29 }
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected