Struct leonardo_heap::LeonardoHeap [] [src]

pub struct LeonardoHeap<T> {
    // some fields omitted
}

Methods

impl<T: Ord + Debug> LeonardoHeap<T>
[src]

fn new() -> Self

fn push(&mut self, item: T)

fn peek(&self) -> Option<&T>

fn pop(&mut self) -> Option<T>

Trait Implementations

impl<T: Debug> Debug for LeonardoHeap<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.