10 unstable releases (3 breaking)

Uses old Rust 2015

0.3.0 Jul 11, 2017
0.2.0 Jun 30, 2017
0.1.1 Apr 10, 2016
0.1.0 Sep 4, 2015
0.0.3 Jan 21, 2015

#1303 in Database interfaces

39 downloads per month
Used in measured-future-rs

MIT/Apache

29KB
648 lines

polymap

A map containing varying types of value.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
polymap = "0.2"

And this to your crate root:

extern crate polymap;

lib.rs:

Mapping containers of heterogeneous values

polymap provides implementations of two mapping containers for heterogeneous values:

  • PolyMap, which maps keys to values of varying type.
  • TypeMap, which stores values according to their type.

No runtime deps