News for hackers. Stuff that matters.
Re:Should Small Rust Structs be Passed by-copy or by-borrow? by eterevsky on Saturday December 31, 2022 @03:00PM (#34200141)
If it's a 3D real-valued vector, or similarly basic structure, you can be fairly certain, that it will stay copyable.
Re:Should Small Rust Structs be Passed by-copy or by-borrow? by josephg on Saturday December 31, 2022 @03:48PM (#34200586)
I agree. Being copyable is part of the signature for something like this. Explicitly so in rust.