Struct std::collections::binary_heap::BinaryHeapPlace
[−]
[src]
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> InPlace<T> for BinaryHeapPlace<'a, T> where
T: Clone + Ord,
[src]
T: Clone + Ord,
type Owner = &'a T
Owner
is the type of the end value of PLACE <- EXPR
Read more
ⓘImportant traits for &'a mut Iunsafe fn finalize(self) -> &'a T
[src]
ⓘImportant traits for &'a mut I
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
impl<'a, T> Debug for BinaryHeapPlace<'a, T> where
T: Ord + Clone + Debug,
[src]
T: Ord + Clone + Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<'a, T> Place<T> for BinaryHeapPlace<'a, T> where
T: Clone + Ord,
[src]
T: Clone + Ord,