default-boxed
default-boxed copied to clipboard
Helper trait to create a boxed instance without going through stack
Results
3
default-boxed issues
Sort by
recently updated
recently updated
newest added
It might be useful to add method `fn default_boxed_slice(n: usize) -> Box` if there are such demand.
With [unsafe_block_in_unsafe_fn](https://rust-lang.github.io/rfcs/2585-unsafe-block-in-unsafe-fn.html), we would need to have `unsafe` block in the `unsafe fn` we generate here.