pub struct CompiledModuleIdAllocator { /* private fields */ }
Expand description
An allocator for compiled module IDs.
Implementations§
source§impl 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§
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