pub fn create_hashmap_index<IndexKey>(&mut self, make_index_key_callback: fn(&Value) -> IndexKey)
        -> Index<IndexKey, Key, Value, std::collections::HashMap<IndexKey, BTreeSet<Key>>>
    where IndexKey: Clone + Hash + Eq + 'static {
        self.create_index::<IndexKey, std::collections::HashMap<IndexKey, BTreeSet<Key>>>(make_index_key_callback)
    }
/// Create index by value based on std::collections::HashMap.
/// 'make_index_key_callback' will call everytime when insert or remove on map.
/// Inside into callback necessary to determine the value and type of the index key
/// in any way related to the value of the map.
Create index by value based on std::collections::HashMap.
'make_index_key_callback' will call everytime when insert or remove on map.
Inside into callback necessary to determine the value and type of the index key
in any way related to the value of the map.
Create index by value based on std :: collections :: HashMap . ' make_index_key_callback ' will call everytime when insert or remove on map . Inside into callback necessary to determine the value and type of the index key in any way related to the value of the map .
pub fn create_hashmap_index<IndexKey>(&mut self, make_index_key_callback: fn(&Value) -> IndexKey)
        -> Index<IndexKey, Key, Value, std::collections::HashMap<IndexKey, BTreeSet<Key>>>
    where IndexKey: Clone + Hash + Eq + 'static {
        self.create_index::<IndexKey, std::collections::HashMap<IndexKey, BTreeSet<Key>>>(make_index_key_callback)
    }
pub fn create_hashmap_index < IndexKey > ( & mut self , make_index_key_callback : fn ( & Value ) -> IndexKey ) -> Index < IndexKey , Key , Value , std :: collections :: HashMap < IndexKey , BTreeSet < Key > > > where IndexKey : Clone + Hash + Eq + ' static { self . create_index :: < IndexKey , std :: collections :: HashMap < IndexKey , BTreeSet < Key > > > ( make_index_key_callback ) }
Create index by value based on std::collections::HashMap.
Create index by value based on std :: collections :: HashMap .
&mut self
make_index_key_callback
fn(&Value) -> IndexKey
&mut self
make_index_key_callback
fn(&Value) -> IndexKey