Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Add
Method · 0.45
get_a
Method · 0.45
add
Method · 0.45
consume
Method · 0.45
nested_roundtrip
Method · 0.45
test_nested_roundtrip
Function · 0.45
foo
Method · 0.45
Calls
no outgoing calls
Tested by
3
consume
Method · 0.36
nested_roundtrip
Method · 0.36
test_nested_roundtrip
Function · 0.36