Docs.rs
bobbytables-0.2.0
bobbytables 0.2.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
rossdylan
Dependencies
Versions
60%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
bobbytables
0.2.0
All Items
Crate Items
Structs
Functions
Crate
bobbytables
Copy item path
Source
Structs
§
Counter
The public Counter structure which contains the inner mutable state. This allows us to put this straight into an Arc and safely share between threads
Counter
Iterator
Functions
§
clean_
key
Clean a given key string. This involves stripping non ascii characters out and limiting the key to 16 characters. The resulting key is stack allocated so be careful with it. If you need it long term put it in a Box.
djb2_
hash
An implementation of the djb2 hash using rust iterators over the contents of the HashKey array.