gavl 0.1.5

A fast implementation for a map and a set using an AVL tree
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::{
    super::{
        Map
    }
};

impl<KeyType:Ord+Clone, ContentType:Clone> Clone for Map<KeyType, ContentType> {
    fn clone(&self) -> Map<KeyType, ContentType>{
        self.iter().map(|(key_ref, content_ref)|(key_ref.clone(), content_ref.clone())).collect()
    }
}