[][src]Struct refpool::fakepool::PoolBox

pub struct PoolBox<A>(_);

A fake PoolBox which wraps a Box.

Implementations

impl<A> PoolBox<A>[src]

pub fn default(_pool: &Pool<A>) -> Self where
    A: PoolDefault
[src]

pub fn new(_pool: &Pool<A>, value: A) -> Self[src]

pub fn clone_from(_pool: &Pool<A>, value: &A) -> Self where
    A: PoolClone
[src]

pub fn pin_default(_pool: &Pool<A>) -> Pin<Self> where
    A: PoolDefault
[src]

pub fn pin(_pool: &Pool<A>, value: A) -> Pin<Self>[src]

pub fn ptr_eq(left: &Self, right: &Self) -> bool[src]

pub fn into_raw(this: Self) -> *mut A[src]

pub unsafe fn from_raw(ptr: *mut A) -> Self[src]

Trait Implementations

impl<A> AsMut<A> for PoolBox<A>[src]

impl<A> AsRef<A> for PoolBox<A>[src]

impl<A> Borrow<A> for PoolBox<A>[src]

impl<A> BorrowMut<A> for PoolBox<A>[src]

impl<A> Debug for PoolBox<A> where
    A: Debug
[src]

impl<A> Deref for PoolBox<A>[src]

type Target = A

The resulting type after dereferencing.

impl<A> DerefMut for PoolBox<A>[src]

impl<A> Display for PoolBox<A> where
    A: Display
[src]

impl<A> Eq for PoolBox<A> where
    A: Eq
[src]

impl<A> Hash for PoolBox<A> where
    A: Hash
[src]

impl<A> Ord for PoolBox<A> where
    A: Ord
[src]

impl<A> PartialEq<PoolBox<A>> for PoolBox<A> where
    A: PartialEq
[src]

impl<A> PartialOrd<PoolBox<A>> for PoolBox<A> where
    A: PartialOrd
[src]

impl<A> Pointer for PoolBox<A>[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for PoolBox<A> where
    A: RefUnwindSafe

impl<A> Send for PoolBox<A> where
    A: Send

impl<A> Sync for PoolBox<A> where
    A: Sync

impl<A> Unpin for PoolBox<A>

impl<A> UnwindSafe for PoolBox<A> where
    A: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.