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 Scopes created by the same repository have valid comparison results.

Implementations

Return the string for an atom number returned by Scope::atom_at

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.