#Can you use component as trait object?
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
Hi, I tried to derive component to a struct that has a trait object for a field, but I got error that it needs to implement "Sync" and "Send" to be thread safe, I tried a lot of caveats around it, but I can't get it to work. My latest idea is that I will just use component as trait object. Is it possible to do?