[][src]Struct allocator_suite::adaptors::allocator_adaptor::AllocatorAdaptor

#[repr(transparent)]
pub struct AllocatorAdaptor<'a, A: 'a + Allocator>(_);

Adapts an Allocator to the GlobalAlloc and Alloc traits.

Trait Implementations

impl<'a, A: 'a + Allocator> Allocator for AllocatorAdaptor<'a, A>[src]

impl<'a, A: Debug + 'a + Allocator> Debug for AllocatorAdaptor<'a, A>[src]

impl<'a, A: 'a + Allocator> Deref for AllocatorAdaptor<'a, A>[src]

type Target = A

The resulting type after dereferencing.

impl<'a, A: 'a + Allocator> GlobalAlloc for AllocatorAdaptor<'a, A>[src]

impl<'a, A: 'a + Allocator> Alloc for AllocatorAdaptor<'a, A>[src]

Auto Trait Implementations

impl<'a, A> Send for AllocatorAdaptor<'a, A> where
    A: Sync

impl<'a, A> Sync for AllocatorAdaptor<'a, A> where
    A: Sync

impl<'a, A> Unpin for AllocatorAdaptor<'a, A>

impl<'a, A> UnwindSafe for AllocatorAdaptor<'a, A> where
    A: RefUnwindSafe

impl<'a, A> RefUnwindSafe for AllocatorAdaptor<'a, A> where
    A: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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