An implementation of a &[dyn Trait]-like reference, inspired by a Reddit thread.
Dyn-slices are slices of trait objects. Indexing into one yields a trait object reference. The vtable pointer is only stored once.
cargo add dyn-slicedyn-slice on crates.io
dyn-slice on lib.rs
dyn-slice on GitHub
Dyn-Slice is dual-licensed under either the MIT license or Apache License Version 2.0 at your option.