|
|
|
|
|
by marshray
18 days ago
|
|
Well, only if Clone/Copy is compatible with the semantics of the API. I.e., the called function doesn't need to modify anything. No &mut params (or data members) except perhaps `&mut self` (which would refer to definitions the same file). That's usually the case for Rust programs because the language encourages it. Are Zig programs like that? |
|