An implementation for a &dyn [Trait]
-like reference, inspired by a Reddit thread.
DO NOT USE THIS IN PRODUCTION (or any important) CODE: IT IS A PROOF OF CONCEPT AND PROBABLY HAS MANY BUGS.
With that said, feel free to use it in code that does not have to be reliable and to send pull requests to fix some of the bugs.
Dyn-Slice is dual-licensed under either the Apache License Version 2.0 or MIT license at your option.