#count #statistics #stats

frequency

A trait for types that keep track of the counts of things

2 stable releases

Uses old Rust 2015

1.0.1 Mar 25, 2017

#69 in #stats

Download history 10/week @ 2024-02-19 7/week @ 2024-02-26 4/week @ 2024-03-04 3/week @ 2024-03-11 55/week @ 2024-04-01

59 downloads per month
Used in 4 crates

MIT license

4KB

The Frequency trait represents types that keep track of the observed counts of items.

Usage

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.


lib.rs:

The Frequency trait represents types that keep track of the observed counts of items.

Usage

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.

Dependencies

~245KB