iddqd/id_hash_map/
mod.rs

1//! A hash map where keys are part of the values.
2//!
3//! For more information, see [`IdHashMap`].
4
5#[cfg(feature = "daft")]
6mod daft_impls;
7mod entry;
8pub(crate) mod imp;
9mod iter;
10#[cfg(feature = "proptest")]
11mod proptest_impls;
12mod ref_mut;
13#[cfg(feature = "schemars08")]
14mod schemars_impls;
15#[cfg(feature = "serde")]
16mod serde_impls;
17mod tables;
18pub(crate) mod trait_defs;
19
20#[cfg(feature = "daft")]
21pub use daft_impls::Diff;
22pub use entry::{Entry, OccupiedEntry, VacantEntry};
23pub use imp::IdHashMap;
24pub use iter::{IntoIter, Iter, IterMut};
25#[cfg(all(feature = "proptest", feature = "default-hasher"))]
26pub use proptest_impls::prop_strategy;
27#[cfg(feature = "proptest")]
28pub use proptest_impls::{
29    IdHashMapStrategy, IdHashMapValueTree, prop_strategy_with_hasher,
30    prop_strategy_with_hasher_in,
31};
32pub use ref_mut::RefMut;
33pub use trait_defs::IdHashItem;