macro_rules! binary_heap {
    {$v: expr; $c: expr} => { ... };
    {$($v: expr),* $(,)?} => { ... };
}
Expand description

Macro for creating a BinaryHeap.

Follows the same syntax as the vec! macro.

Examples

use map_macro::binary_heap;

let v = binary_heap![0, 1, 2, 3];
let v = binary_heap![0; 4];