ads-rs 0.1.0

ads-rs (Algorithms and Data Structures) is a set of useful generic production-ready algorithms and data structures.
Documentation
1
2
3
4
5
pub trait Map<K: Ord, V> {
    fn get(&self, key: &K) -> Option<V>;
    fn erase(&mut self, key: &K) -> Option<V>;
    fn insert(&mut self, key: K, value: V) -> Option<V>;
}