Docs.rs
huffman_tree-0.1.0
huffman_tree 0.1.0
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Crates.io
Source
Owners
chiiihc
Dependencies
Versions
0.1.0
80%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
i686-unknown-linux-gnu
x86_64-pc-windows-msvc
x86_64-apple-darwin
i686-pc-windows-msvc
Feature flags
Releases
All Releases
Releases by Stars
Recent Build Failures
Build Failures by Stars
Release Activity
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
Rust Cookbook
Crates.io
The Cargo Guide
☰
huffman_tree
All crates
?
[
−
]
[src]
Function
huffman_tree
::
encoding
pub fn encoding(tree: &
HuffmanTree
, buff: &
String
) ->
String
根据给定的哈夫曼树,从每个叶子节点出发追溯到树根,逆向找出二叉树中叶子节点的编码