pub struct ScopePtr<K, V>(/* private fields */);Expand description
Smart pointer retaining ownership of a scope so it can be reactivated
after it has been popped from the table. Port of
PersistentScopedMapScopePtr; Rc’s automatic reference counting
replaces the manual addRef/decRef pair.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> !RefUnwindSafe for ScopePtr<K, V>
impl<K, V> !Send for ScopePtr<K, V>
impl<K, V> !Sync for ScopePtr<K, V>
impl<K, V> !UnwindSafe for ScopePtr<K, V>
impl<K, V> Freeze for ScopePtr<K, V>
impl<K, V> Unpin for ScopePtr<K, V>
impl<K, V> UnsafeUnpin for ScopePtr<K, V>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more