Struct treez::rb::TreeRb[][src]

pub struct TreeRb<K, V> where
    K: Ord + Default + Bounded + Clone,
    V: Default + Clone
{ /* fields omitted */ }

vector indexed red-black tree implementation

Methods

impl<K, V> TreeRb<K, V> where
    K: Ord + Default + Bounded + Clone,
    V: Default + Clone
[src]

returns the value of the removed item, otherwise return None

check to see if an item with the input key exists

get the value of the item with the input key, otherwise return None

compacts up unused slots in node array

Auto Trait Implementations

impl<K, V> Send for TreeRb<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for TreeRb<K, V> where
    K: Sync,
    V: Sync