[−][src]Trait swym::tx::Borrow
Auto trait for types lacking direct interior mutability.
These types can have a snapshot (memcpy style) taken of the current state as long as the
original value is not dropped. See TCell::borrow
.
The list of manual implementations is conservative, and will likely be expanded in the future.
As long as the interior mutability resides on the heap (through a pointer), then the type can
manually implement Borrow
.