Closed
Description
Currently, if you wanna implement the traits generated by component::bindgen
in a library that other's are gonna use with custom types, you can't do it on T: YourTrait
, you have to implement it on dyn YourTrait
. At least that's what I gather from what wasi-http is doing.
I'm working on wasi-webgpu, where we'd really like one of our methods to be generic, but generics are not object-safe. Is there any way we can do that?
Metadata
Metadata
Assignees
Labels
No labels