treap_map/
lib.rs

1// Copyright 2019 Conflux Foundation. All rights reserved.
2// Conflux is free software and distributed under GNU General Public License.
3// See http://www.gnu.org/licenses/
4
5mod config;
6mod map;
7mod node;
8mod search;
9mod update;
10
11#[cfg(test)]
12mod tests;
13
14pub use self::{
15    config::{
16        ConsoliableWeight, Direction, KeyMngTrait, NoWeight,
17        SharedKeyTreapMapConfig, TreapMapConfig,
18    },
19    map::{Iter, TreapMap},
20    node::Node,
21    search::{accumulate_weight_search, SearchDirection, SearchResult},
22    update::ApplyOpOutcome,
23};