pub(crate) fn new(indexes: SelfMap, make_index_key_callback: fn(&OwnerValue) -> IndexKey) -> Self {
        Index {
            map: Arc::new(RwLock::new(indexes)),
            make_index_key_callback,
            _phantom: PhantomData,
        }
    }
/// Constructs new Index from custom map and make index callback.
Constructs new Index from custom map and make index callback.
Constructs new Index from custom map and make index callback .
pub(crate) fn new(indexes: SelfMap, make_index_key_callback: fn(&OwnerValue) -> IndexKey) -> Self {
        Index {
            map: Arc::new(RwLock::new(indexes)),
            make_index_key_callback,
            _phantom: PhantomData,
        }
    }
pub ( crate ) fn new ( indexes : SelfMap , make_index_key_callback : fn ( & OwnerValue ) -> IndexKey ) -> Self { Index { map : Arc :: new ( RwLock :: new ( indexes ) ) , make_index_key_callback , _phantom : PhantomData , } }
Constructs new Index from custom map and make index callback.
Constructs new Index from custom map and make index callback .
indexes
SelfMap
make_index_key_callback
fn(&OwnerValue) -> IndexKey
indexes
SelfMap
make_index_key_callback
fn(&OwnerValue) -> IndexKey