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

Method enable

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

Enable the counter

(&mut self)

Source from the content-addressed store, hash-verified

102 // Can increment
103 self.count += 1;
104 true // Return true indicating success
105 }
106
107 // Increment the counter by a specific amount. Clamps at the limit.
108 // Returns the actual amount the counter was incremented by.
109 fn increment_by(&mut self, amount: u32) -> u32 {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected