W3cubDocs

/Rust

Struct std::collections::binary_heap::BinaryHeapPlace

pub struct BinaryHeapPlace<'a, T> where    T: 'a + Clone + Ord,  { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (collection_placement #30172)placement protocol is subject to change

Trait Implementations

impl<'a, T> Debug for BinaryHeapPlace<'a, T> where
    T: Ord + Clone + Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a, T> Place<T> for BinaryHeapPlace<'a, T> where
    T: Clone + Ord
[src]

[src]

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

Returns the address where the input value will be written. Note that the data at this address is generally uninitialized, and thus one should use ptr::write for initializing it. Read more

impl<'a, T> InPlace<T> for BinaryHeapPlace<'a, T> where
    T: Clone + Ord
[src]

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

Owner is the type of the end value of PLACE <- EXPR Read more

[src]

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

Converts self into the final value, shifting deallocation/cleanup responsibilities (if any remain), over to the returned instance of Owner and forgetting self. Read more

© 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/collections/binary_heap/struct.BinaryHeapPlace.html