Registry / utility / range-map

range-map

JSON →
library0.2.0rscratesunverified

Maps and sets implemented using ranges.

# Cargo.toml [dependencies] range-map = "0.2.0"
INSTALL
IMPORT
SIG · RANGE-MAP
R
range-map
utilityrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RangeMap
use range_map::RangeMap;

Creates a RangeMap and inserts a range.

use range_map::RangeMap; fn main() { let mut map = RangeMap::new(); map.insert(0..5, 'a'); assert_eq!(map.get(&3), Some(&'a')); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources