[][src]Struct run_loop::binary_heap::BinaryHeap

pub struct BinaryHeap<K, V: ?Sized> { /* fields omitted */ }

Methods

impl<K, V: ?Sized> BinaryHeap<K, V>[src]

pub fn new() -> BinaryHeap<K, V>[src]

pub fn with_capacity(capacity: usize) -> BinaryHeap<K, V>[src]

pub fn into_vec(self) -> Vec<NodePtr<K, V>>[src]

pub fn is_empty(&self) -> bool[src]

pub fn len(&self) -> usize[src]

pub fn clear<F: FnMut(NodePtr<K, V>)>(&mut self, f: F)[src]

impl<K: Ord, V: ?Sized> BinaryHeap<K, V>[src]

pub fn peek(&self) -> Option<&NodePtr<K, V>>[src]

pub unsafe fn push(&mut self, item: NodePtr<K, V>)[src]

pub unsafe fn pop(&mut self) -> Option<NodePtr<K, V>>[src]

pub unsafe fn update(&mut self, item: NodePtr<K, V>, key: K)[src]

pub unsafe fn remove(&mut self, index: usize) -> NodePtr<K, V>[src]

Trait Implementations

impl<K, V: ?Sized> Default for BinaryHeap<K, V>[src]

Auto Trait Implementations

impl<K, V: ?Sized> RefUnwindSafe for BinaryHeap<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V> !Send for BinaryHeap<K, V>

impl<K, V> !Sync for BinaryHeap<K, V>

impl<K, V: ?Sized> Unpin for BinaryHeap<K, V>

impl<K, V: ?Sized> UnwindSafe for BinaryHeap<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.