pub struct CompiledModuleIdAllocator { /* private fields */ }
Expand description
An allocator for compiled module IDs.
Implementations
sourceimpl CompiledModuleIdAllocator
impl CompiledModuleIdAllocator
sourcepub fn alloc(&self) -> CompiledModuleId
pub fn alloc(&self) -> CompiledModuleId
Allocate a new ID.
Auto Trait Implementations
impl RefUnwindSafe for CompiledModuleIdAllocator
impl Send for CompiledModuleIdAllocator
impl Sync for CompiledModuleIdAllocator
impl Unpin for CompiledModuleIdAllocator
impl UnwindSafe for CompiledModuleIdAllocator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more