You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked for the repo of wit-bindgen and cargo-component, and there are several examples of designing import, export, and func. But they are basically at the level of helloworld and adder.
But how to create a struct similar to Rust? The docs mention resource, interface, record, etc., but there are no examples to explain how to write wit and bind at the Rust level.
It's basically some expansion to the current tutorial.