MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / get

Method get

tests/runtime/resource_floats/leaf.rs:22–24  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

20 }
21
22 fn get(&self) -> f64 {
23 self.0 + 4.0
24 }
25
26 fn add(a: ImportFloat1, b: f64) -> ImportFloat1 {
27 ImportFloat1::new(<MyFloat as GuestFloat>::new(a.get::<MyFloat>().0 + b + 6.0))

Callers 7

AddMethod · 0.45
get_aMethod · 0.45
addMethod · 0.45
consumeMethod · 0.45
nested_roundtripMethod · 0.45
test_nested_roundtripFunction · 0.45
fooMethod · 0.45

Calls

no outgoing calls

Tested by 3

consumeMethod · 0.36
nested_roundtripMethod · 0.36
test_nested_roundtripFunction · 0.36