Crates.io | frequency |
lib.rs | frequency |
version | 1.0.1 |
source | src |
created_at | 2017-03-25 17:00:32.086185 |
updated_at | 2017-03-25 17:20:14.682687 |
description | A trait for types that keep track of the counts of things. |
homepage | |
repository | https://gitlab.com/jswrenn/frequency |
max_upload_size | |
id | 9146 |
size | 3,339 |
The Frequency
trait represents types that keep track of the
observed counts of items.
Add frequency
to your Cargo.toml
:
[dependencies]
frequency = "^1.0.0"
To use the Frequency
interface for types implementing Frequency
,
you must import the Frequency
trait:
extern crate frequency;
use frequency::Frequency;
Implementations of Frequency
are provided by the
frequency-btreemap
,
frequency-btreemap
, and
frequency-btreemap
crates.