Struct alloc::boxed::ExchangeHeapSingleton [] [src]

pub struct ExchangeHeapSingleton {
    _force_singleton: (),
}
Unstable (box_heap #27779)

: may be renamed; uncertain about custom allocator design

This the singleton type used solely for boxed::HEAP.

Fields

_force_singleton
Unstable (box_heap #27779)

: may be renamed; uncertain about custom allocator design

Trait Implementations

impl<T> Placer<T> for ExchangeHeapSingleton

type Place = IntermediateBox<T>

fn make_place(self) -> IntermediateBox<T>

Derived Implementations

impl Clone for ExchangeHeapSingleton

fn clone(&self) -> ExchangeHeapSingleton

fn clone_from(&mut self, source: &Self)

impl Copy for ExchangeHeapSingleton