Hmm, a struct with two int fields may not be the best choice for illustrating what I think you are trying to convey, since in Java at least, that will allocate a single `Point` object on the heap, with the `int`'s stored inline.  So the only difference is that you have a pointer on your stack frame that points to a `Point` object on the heap, which is indeed different from the `Rust` picture, but is also quite different than what you have shown here.

I don't know if you will have space, but an example that uses a Rectangle with two Points (for upper-left and lower-right) will let you still draw the picture with the Rust memory all stored inline on the stack frame, while Java/Ruby would have three objects (one Rectangle and two Points).