I am learning Rust and want to write my own memory allocator.
Are there examples of how to do this - I am looking for bare bones example - how to construct an object after allocating memory. My understanding is that there is no placement new type facility - so the only way is to construct a struct and copy it to the heap memory?