[][src]Struct batsat::intmap::HeapData

pub struct HeapData<K: AsIndex> { /* fields omitted */ }

Implementations

impl<K: AsIndex> HeapData<K>[src]

pub fn new() -> Self[src]

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

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

pub fn in_heap(&self, k: K) -> bool[src]

pub fn promote<Comp: Comparator<K>>(&mut self, comp: Comp) -> Heap<'_, K, Comp>[src]

Trait Implementations

impl<K: Clone + AsIndex> Clone for HeapData<K>[src]

impl<K: Debug + AsIndex> Debug for HeapData<K>[src]

impl<K: AsIndex> Default for HeapData<K>[src]

impl<K: AsIndex> Index<usize> for HeapData<K>[src]

type Output = K

The returned type after indexing.

Auto Trait Implementations

impl<K> RefUnwindSafe for HeapData<K> where
    K: RefUnwindSafe
[src]

impl<K> Send for HeapData<K> where
    K: Send
[src]

impl<K> Sync for HeapData<K> where
    K: Sync
[src]

impl<K> Unpin for HeapData<K> where
    K: Unpin
[src]

impl<K> UnwindSafe for HeapData<K> where
    K: UnwindSafe
[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.