Hi folks. I'm trying to implement the alternative solution of using Clone here, but failing: Traits: Defining Shared Behavior - The Rust Programming Language
Might anybody be able to demonstrate a working implementation of the Clone-based solution it refers to, on https://play.rust-lang.org/, please? Was surprised to not be able to locate one with a Google search.
I've successfully implemented the other solutions - but hit some borrow/move errors I couldn't hack my way out of for this one. I'd love to move forward with the book without losing that learning experience! Any help would be very much appreciated, thanks!