pub struct ScopeRepository { /* private fields */ }
Expand description
The structure used to keep track of the mapping between scope atom numbers and their string names
It is only exposed in case you want to lock SCOPE_REPO
and then allocate a bunch of scopes
at once without thrashing the lock. In general, you should just use Scope::new()
.
Only Scope
s created by the same repository have valid comparison results.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScopeRepository
impl RefUnwindSafe for ScopeRepository
impl Send for ScopeRepository
impl Sync for ScopeRepository
impl Unpin for ScopeRepository
impl UnwindSafe for ScopeRepository
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