|
|
|
|
|
by Dobbs
1320 days ago
|
|
That is basically the entire shtick of rust. That data is "owned", and only the owner can write. You can "borrow" something for read access, but if something is borrowed it can't be written to. There are of course workarounds for this like reference counted wrappers and so on. |
|