[][src]Struct allocator_suite::adaptors::global_alloc_to_allocator_adaptor::GlobalAllocToAllocatorAdaptor

pub struct GlobalAllocToAllocatorAdaptor<GA: GlobalAlloc>(pub GA);

Adapts implementations of GlobalAlloc to Allocator.

Trait Implementations

impl<GA: GlobalAlloc> Allocator for GlobalAllocToAllocatorAdaptor<GA>[src]

impl<GA: GlobalAlloc> Debug for GlobalAllocToAllocatorAdaptor<GA>[src]

impl<GA: GlobalAlloc> Deref for GlobalAllocToAllocatorAdaptor<GA>[src]

type Target = GA

The resulting type after dereferencing.

Auto Trait Implementations

impl<GA> Send for GlobalAllocToAllocatorAdaptor<GA> where
    GA: Send

impl<GA> Sync for GlobalAllocToAllocatorAdaptor<GA> where
    GA: Sync

impl<GA> Unpin for GlobalAllocToAllocatorAdaptor<GA> where
    GA: Unpin

impl<GA> UnwindSafe for GlobalAllocToAllocatorAdaptor<GA> where
    GA: UnwindSafe

impl<GA> RefUnwindSafe for GlobalAllocToAllocatorAdaptor<GA> where
    GA: 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]