pub struct FixedPool<T, R: Reset<T> = NoopReset>(/* private fields */);Expand description
Allows for borrowing from a fixed pool of recycled values.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, R> Freeze for FixedPool<T, R>
impl<T, R = NoopReset> !RefUnwindSafe for FixedPool<T, R>
impl<T, R> Send for FixedPool<T, R>
impl<T, R> Sync for FixedPool<T, R>
impl<T, R> Unpin for FixedPool<T, R>
impl<T, R = NoopReset> !UnwindSafe for FixedPool<T, R>
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