I am not good at English. Sorry if there are any funny expressions.
I am trying to create my own smart pointer with wrapping original smart pointer (ex: Rc).
However, CoerceUnsized and DispatchFromDyn are still nightly.
Therefore, my own smart pointers cannot functionally replace original types.
Is there any next best solution?
I wonder unsafe feature is needed.
If original smart pointer is the only member of the smart pointer, then transmute might help.
But otherwise I have no idea.
Indeed, I would be very happy if it could be implemented with derive macros.
And the fact that experts are working on this means that there doesn't seem to be an easy way to get enough functionality into our own smart pointer in Stable Rust at current time. It's a bit disappointing.
But I personally think this feature is very important and look forward to the future.
Thanks Rust developers.