emplacable

docs.rs Crates.io

Return values of unsized types, like [i32] or dyn Any, from functions, with a mechanism similar to placement new.

Written to support the unsized-vec crate, but is independent of it. Experimental, and requires nightly Rust.