Closed tower120 closed 2 years ago
You can try implementing the Adapter
trait manually instead of using the macro. The reason it doesn't work is that memoffset
doesn't support unsized types since those don't have a fixed layout at compile-time.
I see, thanks!
I want to use
intrusive_adapter!
withdyn_struct
's DynStruct :But have following error:
Can I do something about this?