Structs§
- A ScopeCell allows temporary, scope-bound mutations to a value. The underlying data must implement
Copy
so that the original value can be efficiently stored and restored. Changes made within the ScopeCell’s scope are reverted when the ScopeCell is dropped.