[−][src]Module huff_coding::weights
Trait signifying that the struct stores the weights of a certain type (letter), so that
for any stored letter there is a corresponding usize
(weight).
Re-exports
pub use self::byte_weights::ByteWeights; |
Modules
byte_weights | Struct storing the number of occurences of each byte in a provided byte slice. |
Traits
Weights | Trait signifying that the struct stores the weights of a certain type (letter), so that
for any stored letter there is a corresponding |
Functions
build_weights_map | Count every letter in the provided slice Returning a |
build_weights_map_with_hasher | Count every letter in the provided slice Returning a |