pub struct Object<P>where
P: ObjectPool,{ /* private fields */ }
Expand description
An object managed by object pool P
Trait Implementations§
source§impl<A> Deref for Object<A>where
A: ObjectPool,
impl<A> Deref for Object<A>where
A: ObjectPool,
source§impl<A> DerefMut for Object<A>where
A: ObjectPool,
impl<A> DerefMut for Object<A>where
A: ObjectPool,
source§impl<P> Drop for Object<P>where
P: ObjectPool,
impl<P> Drop for Object<P>where
P: ObjectPool,
source§impl<A> Ord for Object<A>
impl<A> Ord for Object<A>
source§impl<A, B> PartialEq<Object<B>> for Object<A>
impl<A, B> PartialEq<Object<B>> for Object<A>
source§impl<A, B> PartialOrd<Object<B>> for Object<A>
impl<A, B> PartialOrd<Object<B>> for Object<A>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<A> Eq for Object<A>
impl<P> Send for Object<P>
impl<A> StableDeref for Object<A>where
A: ObjectPool,
impl<P> Sync for Object<P>
Auto Trait Implementations§
impl<P> Freeze for Object<P>
impl<P> !RefUnwindSafe for Object<P>
impl<P> Unpin for Object<P>
impl<P> !UnwindSafe for Object<P>
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