The example you have is for a slice, which is something specific. How would you put a scalar value on the heap?
Hopefully you're not boxing all that much in Rust
.
The example you have is for a slice, which is something specific. How would you put a scalar value on the heap?
Hopefully you're not boxing all that much in Rust
.