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

Method new

tests/binary/modules/src/main.rs:7–9  ·  view source on GitHub ↗
(protons: u32)

Source from the content-addressed store, hash-verified

5
6 impl Atom {
7 pub fn new(protons: u32) -> Atom {
8 Atom { protons }
9 }
10
11 pub fn proton_count(self) -> u32 {
12 self.protons

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected