Struct crosvm_plugin::IdAllocator
source · pub(crate) struct IdAllocator(pub(crate) AtomicUsize);
Tuple Fields§
§0: AtomicUsize
Implementations§
Trait Implementations§
source§impl Default for IdAllocator
impl Default for IdAllocator
source§fn default() -> IdAllocator
fn default() -> IdAllocator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for IdAllocator
impl RefUnwindSafe for IdAllocator
impl Send for IdAllocator
impl Sync for IdAllocator
impl Unpin for IdAllocator
impl UnwindSafe for IdAllocator
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