Struct naia_shared::KeyGenerator
source · pub struct KeyGenerator<K: From<u16> + Into<u16> + Copy> { /* private fields */ }
Expand description
Simple implementation of a store that manages a recycling pool of u16 keys
Implementations§
Auto Trait Implementations§
impl<K> RefUnwindSafe for KeyGenerator<K>where
K: RefUnwindSafe,
impl<K> Send for KeyGenerator<K>where
K: Send,
impl<K> Sync for KeyGenerator<K>where
K: Sync,
impl<K> Unpin for KeyGenerator<K>where
K: Unpin,
impl<K> UnwindSafe for KeyGenerator<K>where
K: UnwindSafe,
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