Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wit-bindgen
/ VariantCasts
Function
VariantCasts
tests/runtime/variants/test.go:39–41 ·
view source on GitHub ↗
(x Casts)
Source
from the content-addressed store, hash-verified
37
}
38
39
func
VariantCasts(x Casts) (C1, C2, C3, C4, C5, C6) {
40
return
x.F0, x.F1, x.F2, x.F3, x.F4, x.F5
41
}
42
43
func
VariantZeros(x Zeros) (Z1, Z2, Z3, Z4) {
44
return
x.F0, x.F1, x.F2, x.F3
Callers
1
Run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected