Module huff_coding::prelude [−][src]
huff_coding
prelude.
This collects the general public API into a single spot for inclusion, as
use huff_coding::prelude::*;
, without polluting the root namespace of the crate.
Re-exports
pub use super::tree::branch::HuffBranch; |
pub use super::tree::leaf::HuffLeaf; |
pub use super::tree::letter::HuffLetter; |
pub use super::tree::letter::HuffLetterAsBytes; |
pub use super::weights::Weights; |
pub use super::weights::build_weights_map; |
pub use super::weights::build_weights_map_with_hasher; |
pub use super::weights::byte_weights::ByteWeights; |
pub use super::comp::CompressData; |
pub use super::comp::compress; |
pub use super::comp::compress_with_tree; |
pub use super::comp::decompress; |
Structs
HuffTree | Struct representing a Huffman Tree with an alphabet of
type implementing |