pub struct Scope<'m, K: Eq + Hash + Copy, V: Clone> { /* private fields */ }Expand description
RAII for creating and popping a scope. Port of
PersistentScopedMapScope.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'m, K, V> !RefUnwindSafe for Scope<'m, K, V>
impl<'m, K, V> !Send for Scope<'m, K, V>
impl<'m, K, V> !Sync for Scope<'m, K, V>
impl<'m, K, V> !UnwindSafe for Scope<'m, K, V>
impl<'m, K, V> Freeze for Scope<'m, K, V>
impl<'m, K, V> Unpin for Scope<'m, K, V>
impl<'m, K, V> UnsafeUnpin for Scope<'m, 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