The WIT bindings for a world.
| 17 | |
| 18 | /// The WIT bindings for a world. |
| 19 | pub struct Bindings<'a> { |
| 20 | resolve: &'a Resolve, |
| 21 | world: &'a World, |
| 22 | /// The cumulative output tokens containing the Go bindings. |
| 23 | // TODO(#16): Don't use the internal bindings.out field |
| 24 | pub out: Tokens<Go>, |
| 25 | |
| 26 | /// The identifier of the Go variable containing the WebAssembly bytes. |
| 27 | raw_wasm_var: GoIdentifier, |
| 28 | |
| 29 | /// The sizes of the architecture. |
| 30 | sizes: &'a SizeAlign, |
| 31 | } |
| 32 | |
| 33 | impl<'a> Bindings<'a> { |
| 34 | /// Creates a new bindings generator for the selected world. |
nothing calls this directly
no outgoing calls
no test coverage detected