ds-ext

Crates.iods-ext
lib.rsds-ext
version0.3.0
sourcesrc
created_at2023-07-03 11:04:24.096056
updated_at2024-08-29 02:30:29.28107
descriptionExtensions to standard Rust data structures which provide additional capabilities
homepage
repositoryhttps://github.com/haydnv/ds-ext
max_upload_size
id906903
size87,633
Haydn Vestal (haydnv)

documentation

README

ds-ext

Crates.io Docs.rs

Extensions to standard Rust data structures which provide additional capabilities

Example usage:

use ds_ext::*;

let mut set = OrdHashSet::new();
set.insert(1);
assert!(set.contains(&1));

let mut map = OrdHashMap::from_iter(set.into_iter().map(|i| (i, i)));
assert_eq!(map.get(&1), map.bisect(|i| i.partial_cmp(&1)));
//! ```
Commit count: 94

cargo fmt