Crates.io | total-maps |
lib.rs | total-maps |
version | 0.2.1 |
source | src |
created_at | 2024-04-21 18:24:23.134306 |
updated_at | 2024-10-04 20:31:41.538543 |
description | Maps where every possible key has an associated value |
homepage | |
repository | https://github.com/wleslie/total-maps |
max_upload_size | |
id | 1215578 |
size | 60,395 |
Maps where every possible key has an associated value.
Only entries with uncommon values are actually stored in the map; all other keys are presumed to
be associated with a common value. The definition of "common" and "uncommon" can be customized via
the Commonality
trait.
num-traits
: provides a commonality implemented in terms of
num_traits::Zero
.