Struct easy_pool::PoolArrayQueue
source · [−]pub struct PoolArrayQueue<T> { /* private fields */ }Implementations
sourceimpl<T> PoolArrayQueue<T> where
T: Default + Clear,
impl<T> PoolArrayQueue<T> where
T: Default + Clear,
pub fn new(capacity: usize) -> Self
pub fn create(self: &Arc<Self>) -> PoolObjectContainer<T>
pub fn create_with<F: FnOnce() -> T>(
self: &Arc<Self>,
f: F
) -> PoolObjectContainer<T>
pub fn len(&self) -> usize
Trait Implementations
sourceimpl<T: Debug> Debug for PoolArrayQueue<T>
impl<T: Debug> Debug for PoolArrayQueue<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for PoolArrayQueue<T>
impl<T> Send for PoolArrayQueue<T> where
T: Send,
impl<T> Sync for PoolArrayQueue<T> where
T: Send,
impl<T> Unpin for PoolArrayQueue<T>
impl<T> UnwindSafe for PoolArrayQueue<T> where
T: UnwindSafe,
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