Docs.rs
clock-hash-1.0.0
clock-hash 1.0.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
MicroHD
Dependencies
criterion ^0.8.1
dev
proptest ^1.9.0
dev
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
rotl8
clock_
hash
1.0.0
rotl8
Sections
Arguments
Returns
In clock_
hash::
utils
clock_hash
::
utils
Function
rotl8
Copy item path
Source
pub fn rotl8(x:
u8
, n:
u8
) ->
u8
Expand description
Rotate an 8-bit byte left by n bits.
§
Arguments
x
- The 8-bit byte to rotate
n
- Number of bits to rotate left (0-7)
§
Returns
The rotated 8-bit byte