[][src]Trait swym::tx::Borrow

pub unsafe auto trait 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.

Implementations on Foreign Types

impl<T: ?Sized> !Borrow for UnsafeCell<T>[src]

impl<T: ?Sized> Borrow for Box<T>[src]

Loading content...

Implementors

Loading content...

Auto implementors

Loading content...