W3cubDocs

/Rust

Struct std::boxed::ExchangeHeapSingleton

pub struct ExchangeHeapSingleton { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (box_heap #27779)may be renamed; uncertain about custom allocator design

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

Trait Implementations

impl Copy for ExchangeHeapSingleton [src]

impl Clone for ExchangeHeapSingleton [src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Placer<T> for ExchangeHeapSingleton [src]

🔬 This is a nightly-only experimental API. (placement_new_protocol #27779)

Place is the intermedate agent guarding the uninitialized state for Data. Read more

🔬 This is a nightly-only experimental API. (placement_new_protocol #27779)

Creates a fresh place from self.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/boxed/struct.ExchangeHeapSingleton.html