Skip to main content

MeldableAddressableHeap

Trait MeldableAddressableHeap 

Source
pub trait MeldableAddressableHeap<K, V>: AddressableHeap<K, V> {
    type MeldError;

    // Required method
    fn meld(&mut self, other: Self) -> Result<(), Self::MeldError>;
}
Expand description

An addressable heap that can efficiently meld another heap.

Required Associated Types§

Source

type MeldError

Error returned when a meld cannot be performed.

Required Methods§

Source

fn meld(&mut self, other: Self) -> Result<(), Self::MeldError>

Melds other into this heap.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§