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> PartialOrd<Object<B>> for Object<A>
impl<A, B> PartialOrd<Object<B>> for Object<A>
impl<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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes